Improve man page layout.
[paraslash.git] / ggo.c
diff --git a/ggo.c b/ggo.c
index 3a441db1fa42f16d701dfa7492cf4bbaf22744f9..58d86d0796adec72bf3ea134532b9bc3c80bea07 100644 (file)
--- a/ggo.c
+++ b/ggo.c
@@ -39,10 +39,8 @@ void ggo_print_help(struct ggo_help *help, unsigned flags)
 {
        const char **p;
 
-       if (flags & GPH_PRINT_NAME_VERSION)
-               printf_or_die("%s\n", version_single_line(help->prefix));
-       if (help->purpose && (flags & GPH_PRINT_PURPOSE))
-               printf_or_die("\n%s\n", help->purpose);
+       if (help->purpose && (flags & GPH_PRINT_NAME_PURPOSE))
+               printf_or_die("para_%s - %s\n", help->prefix, help->purpose);
        if (help->usage && (flags & GPH_PRINT_USAGE))
                printf_or_die("\n%s\n", help->usage);
        if (help->description && (flags & GPH_PRINT_DESCRIPTION))