Update list command in README.md (#5585)

Add -L and --license options

Reorganize options in alphabetical order with help last
This commit is contained in:
Ed Reel
2021-04-10 10:58:58 -05:00
committed by GitHub
parent 3b4b504a1a
commit 28a3068c6a
3 changed files with 7 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ Where available commands are:
* files - `display installed files of package(s)`
* help - `get information about command usage`
* install - `install package(s) along with dependencies after prompting for confirmation`
* list - `available or installed packages`
* list - `available, installed, compatible or incompatible packages`
* postinstall - `display postinstall messages of package(s)`
* reinstall - `remove and install package(s)`
* remove - `remove package(s)`

9
crew
View File

@@ -35,13 +35,14 @@ Usage:
crew upgrade [options] [-k|--keep] [-s|--build-from-source] [<name> ...]
crew whatprovides [options] <name> ...
-k --keep Keep the `CREW_BREW_DIR` (#{CREW_BREW_DIR}) directory.
-s --build-from-source Build from source even if pre-compiled binary exists.
-S --recursive-build Build from source, including all dependencies, even if pre-compiled binaries exist.
-V --version Display the crew version.
-c --color Use colors even if standard out is not a tty.
-d --no-color Disable colors even if standard out is a tty.
-k --keep Keep the `CREW_BREW_DIR` (#{CREW_BREW_DIR}) directory.
-L --license Display the crew license.
-s --build-from-source Build from source even if pre-compiled binary exists.
-S --recursive-build Build from source, including all dependencies, even if pre-compiled binaries exist.
-v --verbose Show extra information.
-V --version Display the crew version.
-h --help Show this screen.
version #{CREW_VERSION}

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew
CREW_VERSION = '1.7.21'
CREW_VERSION = '1.7.22'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines