summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c44886)
raw | patch | inline | side by side (parent: 8c44886)
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Thu, 8 Apr 2021 20:02:29 +0000 (22:02 +0200) | ||
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Sat, 10 Apr 2021 10:00:24 +0000 (12:00 +0200) |
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>
$ 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>
tools/mkeficapsule.c | patch | blob | history |
diff --git a/tools/mkeficapsule.c b/tools/mkeficapsule.c
index f2725124515f97c1195efd15f71314eec32e738c..de0a628988863fc05a56b0c6e110a7ef0be6aa24 100644 (file)
--- a/tools/mkeficapsule.c
+++ b/tools/mkeficapsule.c
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);
}