mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 15:33:42 +02:00
cli_classic: Fix first line of --help to match manpage
Make the first line of --help in usage to align with the format of the man page, including fixing any missing options. V.2: Add an extra space. Change-Id: I44f82c6a54fddb54bf268fe6eb22e50acb6025cf Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/35793 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
2a8d4390fa
commit
16ec45c0fc
@ -35,9 +35,12 @@ static void cli_classic_usage(const char *name)
|
|||||||
#if CONFIG_PRINT_WIKI == 1
|
#if CONFIG_PRINT_WIKI == 1
|
||||||
"-z|"
|
"-z|"
|
||||||
#endif
|
#endif
|
||||||
"-p <programmername>[:<parameters>] [-c <chipname>]\n"
|
"\n\t-p <programmername>[:<parameters>] [-c <chipname>]\n"
|
||||||
"[-E|(-r|-w|-v) <file>] [(-l <layoutfile>|--ifd) [-i <imagename>]...] [-n] [-N] [-f]]\n"
|
"\t\t(--flash-name|--flash-size|\n"
|
||||||
"[-V[V[V]]] [-o <logfile>]\n\n", name);
|
"\t\t [-E|(-r|-w|-v) <file>]\n"
|
||||||
|
"\t\t [(-l <layoutfile>|--ifd| --fmap|--fmap-file <file>) [-i <imagename>]...]\n"
|
||||||
|
"\t\t [-n] [-N] [-f])]\n"
|
||||||
|
"\t[-V[V[V]]] [-o <logfile>]\n\n", name);
|
||||||
|
|
||||||
printf(" -h | --help print this help text\n"
|
printf(" -h | --help print this help text\n"
|
||||||
" -R | --version print version (release)\n"
|
" -R | --version print version (release)\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user