tools/fit_check_sign.c: Update usage function.
authorIlies CHERGUI <ilies.chergui@gmail.com>
Sun, 17 Jan 2021 15:52:16 +0000 (15:52 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 1 Feb 2021 21:32:06 +0000 (16:32 -0500)
Add "-c" option to set the configuration name when
checking the FIT image signature.

Signed-off-by: Ilies CHERGUI <ilies.chergui@gmail.com>
tools/fit_check_sign.c

index 9375d5c..5573842 100644 (file)
 
 void usage(char *cmdname)
 {
-       fprintf(stderr, "Usage: %s -f fit file -k key file\n"
+       fprintf(stderr, "Usage: %s -f fit file -k key file -c config name\n"
                         "          -f ==> set fit file which should be checked'\n"
-                        "          -k ==> set key file which contains the key'\n",
+                        "          -k ==> set key file which contains the key'\n"
+                        "          -c ==> set the configuration name'\n",
                cmdname);
        exit(EXIT_FAILURE);
 }