tools/mkeficapsule: improve online help
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 8 Apr 2021 20:02:29 +0000 (22:02 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 10 Apr 2021 10:00:24 +0000 (12:00 +0200)
commit216406367819b52f965ee89b1a3829863c49aac0
tree8e6755f4637029145e022fcb2be7dd95d4e3bfba
parent8c4488677fdf27b8f8aae9ddcc0041205196f5c3
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>
tools/mkeficapsule.c