18 Jul
2016
18 Jul
'16
11:18 a.m.
On error, point also to the man page of the current tool in addition to '$TOOL --help'. --- mllib/getopt-c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mllib/getopt-c.c b/mllib/getopt-c.c index bf40f91..3efd5d3 100644 --- a/mllib/getopt-c.c +++ b/mllib/getopt-c.c @@ -69,8 +69,8 @@ cleanup_option_list (void *ptr) static void __attribute__((noreturn)) show_error (int status) { - fprintf (stderr, _("Try `%s --help' for more information.\n"), - guestfs_int_program_name); + fprintf (stderr, _("Try `%s --help' or consult %s(1) for more information.\n"), + guestfs_int_program_name, guestfs_int_program_name); exit (status); } -- 2.7.4