diff options
author | Jakub Czapiga <czapiga@google.com> | 2023-03-24 11:37:46 +0100 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-10 09:30:12 +0000 |
commit | 5291abb22297ff0fd3a5f5ec4e4c22c1b0455017 (patch) | |
tree | bb930c7d4d75c1bbe2b1b512504104be6dfb4d4e | |
parent | c2491cfab74685fb5a0f30dc3e7c1fadbc47adb3 (diff) | |
download | vboot-5291abb22297ff0fd3a5f5ec4e4c22c1b0455017.tar.gz |
futility/cmd_update: Describe more details in command help
BRANCH=None
BUG=None
TEST=make runtests
Disallow-Recycled-Builds: test-failures
Change-Id: I86f0f4ea383b5fff8390a0510bc5c88bda414f2b
Signed-off-by: Jakub Czapiga <czapiga@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4370239
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Commit-Queue: Yu-Ping Wu <yupingso@chromium.org>
-rw-r--r-- | futility/cmd_update.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/futility/cmd_update.c b/futility/cmd_update.c index 554a8b4a..2f7b0ff4 100644 --- a/futility/cmd_update.c +++ b/futility/cmd_update.c @@ -116,9 +116,21 @@ static void print_help(int argc, char *argv[]) " --unlock_me \tUnlock the Intel ME before flashing\n" SHARED_FLASH_ARGS_HELP "\n" + " * Option --manifest requires either -a,--archive or -i,--image\n" + " With -i,--image additional images are accepted with options\n" + " -e,--ec_image and --pd_image.\n" " * If both --manifest and --fast are specified, the updater\n" " will not scan the archive and simply dump the previously\n" " cached manifest (may be out-dated) from the archive.\n" + " Works only with -a,--archive option.\n" + " * Use of -p,--programmer with option other than '%s',\n" + " or with --ccd effectively disables ability to update EC and PD\n" + " firmware images.\n" + " * Emulation works only with AP (host) firmware image, and does\n" + " not accept EC or PD firmware image, and does not work\n" + " with --mode=output\n" + " * Model detection with option --detect-model-only requires\n" + " archive path -a,--archive\n" "\n" "Legacy and compatibility options:\n" " --factory \tAlias for --mode=factory\n" @@ -136,7 +148,7 @@ static void print_help(int argc, char *argv[]) "-d, --debug \tPrint debugging messages\n" "-v, --verbose \tPrint verbose messages\n" "", - argv[0]); + argv[0], PROG_HOST); } static int do_update(int argc, char *argv[]) |