mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
cros_workon: fix --help to return an exit code of 0
BUG=n0ne TEST=cros_workon --help && echo "test passed" Change-Id: I4d0835b0651f70256e7df82a174fbc8d025cba88 Review URL: http://codereview.chromium.org/6312176
This commit is contained in:
parent
4e224217a6
commit
514f69e8bc
@ -31,7 +31,7 @@ commands:
|
||||
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 commond"
|
||||
FLAGS "$@" || exit 1
|
||||
FLAGS "$@" || { [ "${FLAGS_help}" = "${FLAGS_TRUE}" ] && exit 0; } || exit 1
|
||||
eval set -- "${FLAGS_ARGV}"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user