[devhelp/application-menu: 7/7] main: improve the order of options given in `--help'



commit ae04d3073bcd2fefd9ad4e2f335d92bfb150f4b8
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Tue Jun 12 12:55:53 2012 +0200

    main: improve the order of options given in `--help'

 src/dh-main.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/dh-main.c b/src/dh-main.c
index d9fdedc..c4c2bc8 100644
--- a/src/dh-main.c
+++ b/src/dh-main.c
@@ -49,31 +49,31 @@ static GOptionEntry options[] = {
           N_("Opens a new Devhelp window"),
           NULL
         },
+        { "focus-search",       'f',
+          0, G_OPTION_ARG_NONE, &option_focus_search,
+          N_("Focus the Devhelp window with the search field active"),
+          NULL
+        },
         { "search", 's',
           0, G_OPTION_ARG_STRING, &option_search,
           N_("Search for a keyword"),
           N_("KEYWORD")
         },
-        { "quit", 'q',
-          0, G_OPTION_ARG_NONE, &option_quit,
-          N_("Quit any running Devhelp"),
-          NULL
+        { "search-assistant", 'a',
+          0, G_OPTION_ARG_STRING, &option_search_assistant,
+          N_("Search and display any hit in the assistant window"),
+          N_("KEYWORD")
         },
         { "version", 'v',
           0, G_OPTION_ARG_NONE, &option_version,
           N_("Display the version and exit"),
           NULL
         },
-        { "focus-search",       'f',
-          0, G_OPTION_ARG_NONE, &option_focus_search,
-          N_("Focus the Devhelp window with the search field active"),
+        { "quit", 'q',
+          0, G_OPTION_ARG_NONE, &option_quit,
+          N_("Quit any running Devhelp"),
           NULL
         },
-        { "search-assistant", 'a',
-          0, G_OPTION_ARG_STRING, &option_search_assistant,
-          N_("Search and display any hit in the assistant window"),
-          N_("KEYWORD")
-        },
         { NULL }
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]