diff options
author | Ray Strode <rstrode@redhat.com> | 2008-02-27 19:08:43 +0000 |
---|---|---|
committer | Ray Strode <halfline@src.gnome.org> | 2008-02-27 19:08:43 +0000 |
commit | f34c9d08820f5f9561bd461a125ce6591cc9ab96 (patch) | |
tree | 289999f63c46aba0c78a6695e19ebdb978026da0 /daemon/main.c | |
parent | 9d544b21ae2f1d647625a07d68c99ffda6ec7cbf (diff) | |
download | gdm-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.c | 1 |
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); |