Skip to content

Commit ee4b6ba

Browse files
committed
Hide the -H option if compiled with -DVERIFY_ONLY
1 parent a3f4d7b commit ee4b6ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/minisign.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ usage(void)
4343
"-V verify that a signature is valid for a given file\n"
4444
"-m <file> file to sign/verify\n"
4545
"-o combined with -V, output the file content after verification\n"
46+
#ifndef VERIFY_ONLY
4647
"-H combined with -S, pre-hash in order to sign large files\n"
48+
#endif
4749
"-p <pubkeyfile> public key file (default: ./minisign.pub)\n"
4850
"-P <pubkey> public key, as a base64 string\n"
4951
#ifndef VERIFY_ONLY

0 commit comments

Comments
 (0)