Index: host/cros_workon |
diff --git a/host/cros_workon b/host/cros_workon |
index 9632ea6f9220373c83c31b689aa59e756e1f1cd8..d991356c55ca3bf44d288d9df65a297a3f830c6f 100755 |
--- a/host/cros_workon |
+++ b/host/cros_workon |
@@ -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}" |