diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-03-11 11:21:47 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-18 23:07:36 +0000 |
commit | 01466d36afd10b3947de475bc9b4fb23848e81ce (patch) | |
tree | 331e22905fc988641f111cdb5bd49b7970207290 /Makefile | |
parent | 49a422fab9afb3f013ee6115738c7e13d9ec8191 (diff) | |
download | vboot-01466d36afd10b3947de475bc9b4fb23848e81ce.tar.gz |
futility: Let each command provide its own help
Instead of a separate help function for each command, let's just
require each command to handle a --help option. This will make it
easier to layer the commands (for example, "sign" could have
several subcommand variants, each with its own help).
BUG=none
BRANCH=none
TEST=make runtests
I also compared the result of running "futility help CMD" before
and after this change. The help still shows up correctly.
Change-Id: I5c58176f32b41b0a2c2b8f0afb17dddd80fddc70
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/260495
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1422,7 +1422,7 @@ TEST_DEPS += ${TEST_OBJS:%.o=%.o.d} SRCDIRPAT=$(subst /,\/,${SRCDIR}/) # Note: vboot 2.0 is deprecated, so don't index those files -${BUILD}/cscope.files: test_setup +${BUILD}/cscope.files: all test_setup ${Q}rm -f $@ ${Q}cat ${ALL_DEPS} | tr -d ':\\' | tr ' ' '\012' | \ grep -v /lib20/ | \ |