aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-08 22:02:29 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-10 12:00:24 +0200
commit216406367819b52f965ee89b1a3829863c49aac0 (patch)
tree8e6755f4637029145e022fcb2be7dd95d4e3bfba /tools
parent8c4488677fdf27b8f8aae9ddcc0041205196f5c3 (diff)
tools/mkeficapsule: improve online help
Show short arguments along with long arguments in online help: $ tools/mkeficapsule -h Usage: mkeficapsule [options] <output file> Options: -f, --fit <fit image> new FIT image file -r, --raw <raw image> new raw image file -i, --index <index> update image index -I, --instance <instance> update hardware instance -K, --public-key <key file> public key esl file -D, --dtb <dtb file> dtb file -O, --overlay the dtb file is an overlay -h, --help print a help message Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/mkeficapsule.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/mkeficapsule.c b/tools/mkeficapsule.c
index f272512451..de0a628988 100644
--- a/tools/mkeficapsule.c
+++ b/tools/mkeficapsule.c
@@ -64,14 +64,14 @@ static void print_usage(void)
printf("Usage: %s [options] <output file>\n"
"Options:\n"
- "\t--fit <fit image> new FIT image file\n"
- "\t--raw <raw image> new raw image file\n"
- "\t--index <index> update image index\n"
- "\t--instance <instance> update hardware instance\n"
- "\t--public-key <key file> public key esl file\n"
- "\t--dtb <dtb file> dtb file\n"
- "\t--overlay the dtb file is an overlay\n"
- "\t--help print a help message\n",
+ "\t-f, --fit <fit image> new FIT image file\n"
+ "\t-r, --raw <raw image> new raw image file\n"
+ "\t-i, --index <index> update image index\n"
+ "\t-I, --instance <instance> update hardware instance\n"
+ "\t-K, --public-key <key file> public key esl file\n"
+ "\t-D, --dtb <dtb file> dtb file\n"
+ "\t-O, --overlay the dtb file is an overlay\n"
+ "\t-h, --help print a help message\n",
tool_name);
}