Skip to content

Commit 47021ef

Browse files
committed
Merge branch 'jk/parseopt-usage-msg-opt'
The function usage_msg_opt() has been updated to say "fatal:" before the custom message programs give, when they want to die with a message about wrong command line options followed by the standard usage string. * jk/parseopt-usage-msg-opt: parse-options: print "fatal:" before usage_msg_opt()
2 parents fe05033 + 8743326 commit 47021ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parse-options.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ void NORETURN usage_msg_opt(const char *msg,
661661
const char * const *usagestr,
662662
const struct option *options)
663663
{
664-
fprintf(stderr, "%s\n\n", msg);
664+
fprintf(stderr, "fatal: %s\n\n", msg);
665665
usage_with_options(usagestr, options);
666666
}
667667

0 commit comments

Comments
 (0)