]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - write_common.c
Add some missing includes.
[paraslash.git] / write_common.c
index b61b938459e447294024190b61cc091489660b32..9e9405d5e97cad10d13ae2860518f39c384575e4 100644 (file)
@@ -16,6 +16,7 @@
 #include "buffer_tree.h"
 #include "write.h"
 #include "error.h"
+#include "write_common.h"
 
 /** the array containing the names of all supported writers */
 const char *writer_names[] ={WRITER_NAMES};
@@ -136,7 +137,8 @@ void print_writer_helps(unsigned flags)
 
                if (!w->help.short_help)
                        continue;
-               printf_or_die("\nOptions for %s:", writer_names[i]);
+               printf_or_die("\n%s: %s", writer_names[i],
+                       w->help.purpose);
                ggo_print_help(&w->help, flags);
        }
 }