Skip to content

Commit 5bc5edb

Browse files
committed
Merge branch 'jk/parseopt-usage-msg-opt' into maint
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 bcaf277 + 8743326 commit 5bc5edb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)