summaryrefslogtreecommitdiff
path: root/daemon/main.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-02-27 19:08:43 +0000
committerRay Strode <halfline@src.gnome.org>2008-02-27 19:08:43 +0000
commitf34c9d08820f5f9561bd461a125ce6591cc9ab96 (patch)
tree289999f63c46aba0c78a6695e19ebdb978026da0 /daemon/main.c
parent9d544b21ae2f1d647625a07d68c99ffda6ec7cbf (diff)
downloadgdm-f34c9d08820f5f9561bd461a125ce6591cc9ab96.tar.gz
ignore unknown options, so removed options don't cause it to abort
2008-02-27 Ray Strode <rstrode@redhat.com> * daemon/main.c (main): ignore unknown options, so removed options don't cause it to abort svn path=/trunk/; revision=5889
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index 5d22c59a..2f8f82cb 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -536,6 +536,7 @@ main (int argc,
context = g_option_context_new (_("GNOME Display Manager"));
g_option_context_add_main_entries (context, entries, NULL);
+ g_option_context_set_ignore_unknown_options (context, TRUE);
error = NULL;
res = g_option_context_parse (context, &argc, &argv, &error);