Fix a typo in cros_workon, and make command help output nicer
Details
The cros_workong help text has a typographic error of 'commond'
rather than 'command'. This change addresses that issue.
The help text output for the list of commands was also not nicely
aligned, so I've addressed that, too.
Testing
~thutt/g-chroot-execute sudo emerge cros-devutils
After the build & install completed, I executed:
~thutt/scripts/g-workon --help
The output now looks like the following. The typo was on the
'iterate' command.
usage: /usr/bin/cros_workon <command> [flags] [<list of packages>|--all]
commands:
start: Moves an ebuild to live (intended to support development)
stop: Moves an ebuild to stable (use last known good)
list: List of live ebuilds (workon ebuilds if --all)
list-all: List all of the live ebuilds for all setup boards
iterate: For each ebuild, cd to the source dir and run a command
flags:
--board: The board to set package keywords for. (default: '')
--[no]host: Uses the host instead of board (default: false)
--command: The command to be run by forall. (default: 'git status')
--[no]all: Apply to all possible packages for the given command (default: false)
-h,--[no]help: show this help (default: false)
BUG=0
TEST=See above
Review URL: http://codereview.chromium.org/6812022
Change-Id: Idbf9f2cdde1095c310a79740eeef08087c0d415c
1 file changed