Auto-generate the man page
[geeqie.git] / src / main.c
index 0e4815a..c5026be 100644 (file)
@@ -591,33 +591,36 @@ static void parse_command_line(gint argc, gchar *argv[])
                                {
                                printf_term(FALSE, "%s %s\n", GQ_APPNAME, VERSION);
                                printf_term(FALSE, _("Usage: %s [options] [path]\n\n"), GQ_APPNAME_LC);
-                               print_term(FALSE, _("valid options are:\n"));
-                               print_term(FALSE, _("  +t, --with-tools                 force show of tools\n"));
-                               print_term(FALSE, _("  -t, --without-tools              force hide of tools\n"));
+                               print_term(FALSE, _("Valid options:\n"));
+                               print_term(FALSE, _("      --blank                      start with blank file list\n"));
+                               print_term(FALSE, _("      --cache-maintenance <path>   run cache maintenance in non-GUI mode\n"));
+                               print_term(FALSE, _("      --disable-clutter            disable use of Clutter library (i.e. GPU accel.)\n"));
                                print_term(FALSE, _("  -f, --fullscreen                 start in full screen mode\n"));
-                               print_term(FALSE, _("  -s, --slideshow                  start in slideshow mode\n"));
+                               print_term(FALSE, _("      --geometry=WxH+XOFF+YOFF     set main window location\n"));
+                               print_term(FALSE, _("  -h, --help                       show this message\n"));
                                print_term(FALSE, _("  -l, --list [files] [collections] open collection window for command line\n"));
-                               print_term(FALSE, _("      --blank                      start with blank file list\n"));
-                               print_term(FALSE, _("      --geometry=XxY+XOFF+YOFF     set main window location\n"));
                                print_term(FALSE, _("  -n, --new-instance               open a new instance of Geeqie\n"));
+                               print_term(FALSE, _("  -o:, --log-file:<file>     save log data to file\n"));
                                print_term(FALSE, _("  -r, --remote                     send following commands to open window\n"));
-                               print_term(FALSE, _("  -rh,--remote-help                print remote command list\n"));
+                               print_term(FALSE, _("  -rh, --remote-help               print remote command list\n"));
+                               print_term(FALSE, _("  -s, --slideshow                  start in slideshow mode\n"));
+                               print_term(FALSE, _("  +t, --with-tools                 force show of tools\n"));
+                               print_term(FALSE, _("  -t, --without-tools              force hide of tools\n"));
+                               print_term(FALSE, _("  -v, --version                    print version info\n"));
+                               print_term(FALSE, _("  +w, --show-log-window            show log window\n"));
 #ifdef DEBUG
                                print_term(FALSE, _("      --debug[=level]              turn on debug output\n"));
-                               print_term(FALSE, _("  -g:<regexp>, --grep:<regexp>     filter debug output\n"));
+                               print_term(FALSE, _("  -g:, --grep:<regexp>     filter debug output\n"));
 #endif
-                               print_term(FALSE, _("  +w, --show-log-window            show log window\n"));
-                               print_term(FALSE, _("  -o:<file>, --log-file:<file>     save log data to file\n"));
-                               print_term(FALSE, _("  -v, --version                    print version info\n"));
-                               print_term(FALSE, _("  -h, --help                       show this message\n"));
-                               print_term(FALSE, _("      --disable-clutter            disable use of Clutter library (i.e. GPU accel.)\n"));
-                               print_term(FALSE, _("      --cache-maintenance <path>   run cache maintenance in non-GUI mode\n\n"));
 
 #if 0
                                /* these options are not officially supported!
                                 * only for testing new features, no need to translate them */
                                print_term(FALSE, "  --alternate                use alternate similarity algorithm\n");
 #endif
+                               print_term(FALSE, "\n");
+
+                               remote_help();
 
 
                                exit(0);