[phonemgr] Add arg_description in GOptionEntry for "--config"
- From: Daniele Forsi <dforsi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phonemgr] Add arg_description in GOptionEntry for "--config"
- Date: Sun, 12 Dec 2010 15:33:26 +0000 (UTC)
commit c738b47dc8c0d060e9c50d57118e780a8aefe768
Author: Daniele Forsi <dforsi src gnome org>
Date: Sun Dec 12 16:26:09 2010 +0100
Add arg_description in GOptionEntry for "--config"
So that "gnome-phone-manager --help" prints "--config=PORT" instead of
just "--config".
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index a32fbea..3dcaeb0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -36,7 +36,7 @@ static gboolean version = FALSE;
const GOptionEntry options[] = {
{ "identify", '\0', 0, G_OPTION_ARG_STRING, &bdaddr_ident, N_("Show model name of a specific device"), NULL },
- { "config", '\0', 0, G_OPTION_ARG_STRING, &bdaddr_config, N_("Write the configuration file for gnokii debugging"), NULL },
+ { "config", '\0', 0, G_OPTION_ARG_STRING, &bdaddr_config, N_("Write the configuration file for gnokii debugging"), N_("PORT") },
{ "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, N_("Enable debug"), NULL},
{ "version", 'v', 0, G_OPTION_ARG_NONE, &version, N_("Show version information and exit"), NULL },
{ NULL }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]