ynyounuo
V2EX  ›  macOS

brew upgrade with no arguments will change behaviour soon!

  •  
  •   ynyounuo · Apr 29, 2015 · 3591 views
    This topic created in 4033 days ago, the information mentioned may be changed or developed.

    收到提示:

    Warning: brew upgrade with no arguments will change behaviour soon!
    It currently upgrades all formula but this will soon change to require '--all'.
    Please update any workflows, documentation and scripts!
    
    4 replies    2015-05-01 07:48:55 +08:00
    cattyhouse
        1
    cattyhouse  
       Apr 29, 2015 via iPhone
    不带参数就是update all。
    donotgo
        2
    donotgo  
       Apr 30, 2015
    @cattyhouse 仔细看 warning,现在 "brew upgrade" 不能用了。必须加参数,要么加具体的 formula 名字,要么加 --all 才是跟以前 "brew upgrade" 升级所有 formula 一样的功能。
    cattyhouse
        3
    cattyhouse  
       Apr 30, 2015
    @donotgo 什么不能用?那段warning的意思是
    1,不带参数的 brew upgrade命令的行为不久的将来会改变
    2,目前brew upgrade的行为是:更新所有formula
    3,”不久的将来“的行为会变化成要求带上 --all 参数,才能更新所有formula
    4,请做好准备,修改相关的工作流,文档和脚本。

    完全没说现在不能用,而且我现在还用的好好的,不带参数。
    donotgo
        4
    donotgo  
       May 1, 2015
    @cattyhouse 嗯,我说的不对,不是“现在”不能用,是“将要”不能用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 151ms · UTC 02:31 · PVG 10:31 · LAX 19:31 · JFK 22:31
    ♥ Do have faith in what you're doing.