Fix cros_workon error complaints to be more descriptive

BUG=none
TEST=./cros_workon kernel

Review URL: http://codereview.chromium.org/3142032
This commit is contained in:
J. Richard Barnette 2010-08-24 11:10:17 -07:00 committed by David James
parent b0d4eb7423
commit 8216bd952c

View File

@ -231,5 +231,5 @@ case ${WORKON_CMD} in
stop) ebuild_to_stable "${ATOM_LIST}" ;;
list) [ ${FLAGS_all} = "${FLAGS_FALSE}" ] && show_live_ebuilds || show_workon_ebuilds ;;
iterate)ebuild_iterate "${ATOM_LIST}" ;;
*) die "invalid cros_workon command" ;;
*) die "$(basename $0): command '${WORKON_CMD}' not recognized" ;;
esac