compositor: Fix overlapping options
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:59:15 +0000 (15:59 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Apr 2011 19:59:15 +0000 (15:59 -0400)
compositor/compositor.c

index 627dfef..c3c7de8 100644 (file)
@@ -54,11 +54,11 @@ static const GOptionEntry option_entries[] = {
          &option_connector, "KMS connector" },
        { "geometry", 'g', 0, G_OPTION_ARG_STRING,
          &option_geometry, "Geometry" },
-       { "socket", 's', 0, G_OPTION_ARG_STRING,
+       { "socket", 0, 0, G_OPTION_ARG_STRING,
          &option_socket_name, "Socket Name" },
        { "idle-time", 'i', 0, G_OPTION_ARG_INT,
          &option_idle_time, "Screensaver idle time" },
-       { "shell", 'i', 0, G_OPTION_ARG_STRING,
+       { "shell", 's', 0, G_OPTION_ARG_STRING,
          &option_shell, "Shell module" },
        { NULL }
 };