Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. May 30, 2017
  2. Feb 12, 2017
  3. Jan 04, 2017
  4. Oct 02, 2016
  5. Sep 20, 2016
  6. Sep 12, 2016
  7. Sep 09, 2016
  8. Jun 30, 2016
  9. May 06, 2016
    • Martin Afanasjew's avatar
      Reorder usage examples for brew help · 742df8bb
      Martin Afanasjew authored
      
      - Reorder listed commands to better reflect a typical workflow (search,
        then query for details via `info` and friends, then install, later
        update and upgrade, at last maybe uninstall).
      - Remove niche `pin` and `unpin` commands.
      - Drop `--env` in the Troubleshooting section.
      
      And use `/REGEX/` instead of `/PATTERN/` to be clearer what is expected.
      
      Closes #177.
      
      Signed-off-by: default avatarMartin Afanasjew <martin@afanasjew.de>
      742df8bb
  10. Apr 20, 2016
    • Martin Afanasjew's avatar
      help: show command-specific help for invalid usage · cf3486f9
      Martin Afanasjew authored
      Instead of always printing the generic help text, print command-specific
      help if it is available and a command raised the `UsageError` exception.
      Put the error message underneath the help text (was above) to avoid that
      it scrolls off the screen.
      
      Thereby fix a regression where handling the invalid usage would fail to
      access `ARGV.usage` removed in c6536066.
      cf3486f9
    • Martin Afanasjew's avatar
      help: refactor (again) and fix code style issues · 557ad956
      Martin Afanasjew authored
      Turns out making `empty_argv` a boolean argument for `Homebrew.help` was
      not the best idea and having command-to-path mapping and help extraction
      in a single method is not flexible enough.
      
      Also only complain about missing help text when `HOMEBREW_DEVELOPER=1`
      and otherwise just print the generic help text.
      557ad956
    • Martin Afanasjew's avatar
      help: improve styling of generic help text · 4f8e3cae
      Martin Afanasjew authored
      
      Format the usage examples more consistently (particularly parentheses
      instead of square brackets where one of several alternatives has to be
      picked). And add the now much more useful `brew help <command>`.
      
      Closes #113.
      
      Signed-off-by: default avatarMartin Afanasjew <martin@afanasjew.de>
      4f8e3cae
  11. Apr 18, 2016
  12. Apr 12, 2016
  13. Apr 11, 2016
    • Max Nordlund's avatar
      Implement the `brew help` command · b21f699f
      Max Nordlund authored
      This is also used by `brew <cmd> --help`. The basic idea is to have the
      documentation as a top level comment in each command file. To find these
      comments, they have to be like this `#:`.
      
      This is also used by the `brew man` command to keep the documentation
      DRY, and for that there are now a header and footer for the man page.
      b21f699f
  14. Apr 03, 2016
  15. Aug 07, 2015
  16. Aug 03, 2015
  17. Jun 16, 2015
  18. May 06, 2015
  19. Oct 26, 2014
  20. Jun 20, 2014
  21. May 01, 2014
  22. Dec 15, 2013
  23. Oct 16, 2013
  24. Jan 31, 2013
  25. Aug 25, 2011
    • Max Howell's avatar
      `brew upgrade` · 19e387d9
      Max Howell authored
      Consequence: you can no longer install when something is already installed, you must upgrade it. This doesn't apply if the formula in question was unlinked. You can still --force installs though.
      
      Rationale: the old way of installing over the top would leave symlinks to multiple versions in /usr/local if the old version had a file the newer version didn't. The new upgrade command handles everything properly.
      19e387d9
  26. Mar 13, 2011
    • Max Howell's avatar
      Optimise/simplify `brew help` · ec9cbc64
      Max Howell authored
      Be more useful by being more concise. I referenced dozens of other mature commands’ usage to figure out what to do here.
      
      Also separated out the help into its own command for consistency.
      ec9cbc64
Loading