Skip to content

Commit 87a05da

Browse files
committed
optparse: add missing newline at end of error
problem: the automake TAP parser fails for all tests after test 50 in the t0001-basic.t test because the error message is printed without a newline in optparse solution: add the newline
1 parent aa44b26 commit 87a05da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/liboptparse/optparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ double optparse_get_duration (optparse_t *p,
988988
if (fsd_parse_duration (s, &d) < 0) {
989989
optparse_fatalmsg (p,
990990
1,
991-
"%s: Invalid argument for option '%s': '%s'",
991+
"%s: Invalid argument for option '%s': '%s'\n",
992992
p->program_name,
993993
name,
994994
s);

0 commit comments

Comments
 (0)