[devhelp] main: improve the order of options given in `--help'
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] main: improve the order of options given in `--help'
- Date: Sat, 21 Jul 2012 14:03:19 +0000 (UTC)
commit 448e40e0a9421db65867d5181a24eee250417624
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]