summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-09-23 11:47:40 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-09-24 00:59:02 +0000
commit779796f57e1e0236ea502248ede2cbea986fca21 (patch)
treeccb33230dec19efa3d9e93888b875e70276f1db6 /Makefile
parent0f07867e6fe186ea460afd557e830c1e49f1ff85 (diff)
downloadvboot-779796f57e1e0236ea502248ede2cbea986fca21.tar.gz
futility: Improve help messagesstabilize-6297.B
This provides help messages for the futility commands similar to the way git does. These show the available commands: futility futility help futility --help While these show help for a specific command: futility help COMMAND futility --help COMMAND futility COMMAND --help BUG=none BRANCH=ToT TEST=manual make runtests And manually look at help messages for each command. Change-Id: I1126471e242784c6ca7a2f11694fa7c505d833e8 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/219528 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d091e183..b65c692e 100644
--- a/Makefile
+++ b/Makefile
@@ -1046,7 +1046,7 @@ ${FUTIL_CMD_LIST} ${FUTIL_STATIC_CMD_LIST}:
@$(PRINTF) " GEN $(subst ${BUILD}/,,$@)\n"
${Q}rm -f $@ $@_t $@_commands
${Q}mkdir -p ${BUILD}/gen
- ${Q}grep -hoRE '^DECLARE_FUTIL_COMMAND\([^,]+' $^ -R \
+ ${Q}grep -hoRE '^DECLARE_FUTIL_COMMAND\([^,]+' $^ \
| sed 's/DECLARE_FUTIL_COMMAND(\(.*\)/_CMD(\1)/' \
| sort >>$@_commands
${Q}echo '#define _CMD(NAME) extern const struct' \