summaryrefslogtreecommitdiff
path: root/futility/cmd_show.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-02-05 12:36:15 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-28 00:56:13 +0000
commit1eae873b6194db25781233d7a4aaee6a34160eec (patch)
treece7ce14d2a62beb97fce1772ea2f53920bdbd2b3 /futility/cmd_show.c
parent822120106c963b43c3d303a791f8dd8731d0888e (diff)
downloadvboot-1eae873b6194db25781233d7a4aaee6a34160eec.tar.gz
futility: Add global args to specify vboot API and formatstabilize-6842.Bstabilize-6835.B
The host-side futility tool will need to support all extant vboot implementations. Some legacy futility commands only support the original vb1 format, but others ("show" or "sign", for example) may need to be instructed which formats to expect or emit. This change adds some global args to specify the preferred formats. It also cleans up a few [unused AFAICT] one-letter args to avoid conflicts. BUG=chromium:231574 BRANCH=none TEST=make runtests Nothing makes use of this yet, except the "help" command. Change-Id: Ib79fa12af72b8860b9494e5d9e90b9572c006107 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/246765 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'futility/cmd_show.c')
-rw-r--r--futility/cmd_show.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/futility/cmd_show.c b/futility/cmd_show.c
index b6c2574a..875689d5 100644
--- a/futility/cmd_show.c
+++ b/futility/cmd_show.c
@@ -730,6 +730,7 @@ done:
}
DECLARE_FUTIL_COMMAND(show, do_show,
+ VBOOT_VERSION_ALL,
"Display the content of various binary components",
print_help);
@@ -740,5 +741,6 @@ static int do_verify(int argc, char *argv[])
}
DECLARE_FUTIL_COMMAND(verify, do_verify,
+ VBOOT_VERSION_ALL,
"Verify the signatures of various binary components",
print_help);