scripts: mkhash show -n option in usage
[openwrt/staging/dedeckeh.git] / scripts / mkhash.c
index 0f5815f242f6694cf8506e8936767fa804f923f9..e26ca3a350148aa5ec500a5dee459f7b31f749cd 100644 (file)
@@ -736,7 +736,10 @@ static int usage(const char *progname)
 {
        int i;
 
-       fprintf(stderr, "Usage: %s <hash type> [<file>...]\n"
+       fprintf(stderr, "Usage: %s <hash type> [options] [<file>...]\n"
+               "Options:\n"
+               "       -n              Print filename(s)\n"
+               "\n"
                "Supported hash types:", progname);
 
        for (i = 0; i < ARRAY_SIZE(types); i++)