diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-14 11:04:36 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-27 15:03:46 +0900 |
commit | ee07932080e2400d5b0456ae0a200cb849b83bf4 (patch) | |
tree | cbb72b62174fa726fc7e3fecd19e8fe2de55d277 /tools | |
parent | 9e866d34edded882052c5a9c6dba0885639f3441 (diff) |
fiptool: simplify the top line of command usage
We need not mention like [--force], [--out <path>] because they are
included in [opts].
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/fiptool/fiptool.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/tools/fiptool/fiptool.c b/tools/fiptool/fiptool.c index fef1ea83..a15e827e 100644 --- a/tools/fiptool/fiptool.c +++ b/tools/fiptool/fiptool.c @@ -802,8 +802,9 @@ static void create_usage(void) { toc_entry_t *toc_entry = toc_entries; - printf("fiptool create [--blob uuid=...,file=...] " - "[--plat-toc-flags <value>] [opts] FIP_FILENAME\n"); + printf("fiptool create [opts] FIP_FILENAME\n"); + printf("\n"); + printf("Options:\n"); printf(" --blob uuid=...,file=...\tAdd an image with the given UUID " "pointed to by file.\n"); printf(" --plat-toc-flags <value>\t16-bit platform specific flag field " @@ -911,8 +912,9 @@ static void update_usage(void) { toc_entry_t *toc_entry = toc_entries; - printf("fiptool update [--blob uuid=...,file=...] [--out FIP_FILENAME] " - "[--plat-toc-flags <value>] [opts] FIP_FILENAME\n"); + printf("fiptool update [opts] FIP_FILENAME\n"); + printf("\n"); + printf("Options:\n"); printf(" --blob uuid=...,file=...\tAdd or update an image " "with the given UUID pointed to by file.\n"); printf(" --out FIP_FILENAME\t\tSet an alternative output FIP file.\n"); @@ -1048,8 +1050,9 @@ static void unpack_usage(void) { toc_entry_t *toc_entry = toc_entries; - printf("fiptool unpack [--blob uuid=...,file=...] [--force] " - "[--out <path>] [opts] FIP_FILENAME\n"); + printf("fiptool unpack [opts] FIP_FILENAME\n"); + printf("\n"); + printf("Options:\n"); printf(" --blob uuid=...,file=...\tUnpack an image with the given UUID " "to file.\n"); printf(" --force\t\t\tIf the output file already exists, use --force to " @@ -1171,8 +1174,9 @@ static void remove_usage(void) { toc_entry_t *toc_entry = toc_entries; - printf("fiptool remove [--blob uuid=...] [--force] " - "[--out FIP_FILENAME] [opts] FIP_FILENAME\n"); + printf("fiptool remove [opts] FIP_FILENAME\n"); + printf("\n"); + printf("Options:\n"); printf(" --blob uuid=...\tRemove an image with the given UUID.\n"); printf(" --force\t\tIf the output FIP file already exists, use --force to " "overwrite it.\n"); |