summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2008-07-21 14:59:16 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2008-07-21 14:59:16 +0000
commitcdf70e0a038632f86040c85390690d503470cd8f (patch)
tree9e4b9d0b8ca770e86d917065f7bedced3ee8d04a /utils
parent702973cabc901214bc239fa8842126c14da2f3e5 (diff)
downloadgdm-cdf70e0a038632f86040c85390690d503470cd8f.tar.gz
Indicate unused options in command help. Fixes #539789
2008-07-21 William Jon McCann <jmccann@redhat.com> * utils/gdmflexiserver.c: Indicate unused options in command help. Fixes #539789 svn path=/trunk/; revision=6310
Diffstat (limited to 'utils')
-rw-r--r--utils/gdmflexiserver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c
index 79954f0e..6afa5b5e 100644
--- a/utils/gdmflexiserver.c
+++ b/utils/gdmflexiserver.c
@@ -57,12 +57,12 @@ static char **args_remaining = NULL;
/* Keep all config options for compatibility even if they are noops */
GOptionEntry options [] = {
- { "command", 'c', 0, G_OPTION_ARG_STRING, &send_command, N_("Send the specified protocol command to GDM"), N_("COMMAND") },
- { "xnest", 'n', 0, G_OPTION_ARG_NONE, &use_xnest, N_("Xnest mode"), NULL },
- { "no-lock", 'l', 0, G_OPTION_ARG_NONE, &no_lock, N_("Do not lock current screen"), NULL },
+ { "command", 'c', 0, G_OPTION_ARG_STRING, &send_command, N_("Ignored - retained for compatibility"), N_("COMMAND") },
+ { "xnest", 'n', 0, G_OPTION_ARG_NONE, &use_xnest, N_("Ignored - retained for compatibility"), NULL },
+ { "no-lock", 'l', 0, G_OPTION_ARG_NONE, &no_lock, N_("Ignored - retained for compatibility"), NULL },
{ "debug", 'd', 0, G_OPTION_ARG_NONE, &debug_in, N_("Debugging output"), NULL },
- { "authenticate", 'a', 0, G_OPTION_ARG_NONE, &authenticate, N_("Authenticate before running --command"), NULL },
- { "startnew", 's', 0, G_OPTION_ARG_NONE, &startnew, N_("Start new flexible session; do not show popup"), NULL },
+ { "authenticate", 'a', 0, G_OPTION_ARG_NONE, &authenticate, N_("Ignored - retained for compatibility"), NULL },
+ { "startnew", 's', 0, G_OPTION_ARG_NONE, &startnew, N_("Ignored - retained for compatibility"), NULL },
{ "monte-carlo-pi", 0, 0, G_OPTION_ARG_NONE, &monte_carlo_pi, NULL, NULL },
{ "version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &args_remaining, NULL, NULL },