From: Heinrich Schuchardt Date: Thu, 8 Apr 2021 20:02:29 +0000 (+0200) Subject: tools/mkeficapsule: improve online help X-Git-Tag: v2021.10~231^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=216406367819b52f965ee89b1a3829863c49aac0;p=platform%2Fkernel%2Fu-boot.git tools/mkeficapsule: improve online help Show short arguments along with long arguments in online help: $ tools/mkeficapsule -h Usage: mkeficapsule [options] Options: -f, --fit new FIT image file -r, --raw new raw image file -i, --index update image index -I, --instance update hardware instance -K, --public-key public key esl file -D, --dtb dtb file -O, --overlay the dtb file is an overlay -h, --help print a help message Signed-off-by: Heinrich Schuchardt --- diff --git a/tools/mkeficapsule.c b/tools/mkeficapsule.c index f272512..de0a628 100644 --- a/tools/mkeficapsule.c +++ b/tools/mkeficapsule.c @@ -64,14 +64,14 @@ static void print_usage(void) printf("Usage: %s [options] \n" "Options:\n" - "\t--fit new FIT image file\n" - "\t--raw new raw image file\n" - "\t--index update image index\n" - "\t--instance update hardware instance\n" - "\t--public-key public key esl file\n" - "\t--dtb dtb file\n" - "\t--overlay the dtb file is an overlay\n" - "\t--help print a help message\n", + "\t-f, --fit new FIT image file\n" + "\t-r, --raw new raw image file\n" + "\t-i, --index update image index\n" + "\t-I, --instance update hardware instance\n" + "\t-K, --public-key public key esl file\n" + "\t-D, --dtb dtb file\n" + "\t-O, --overlay the dtb file is an overlay\n" + "\t-h, --help print a help message\n", tool_name); }