]> Dogcows Code - chaz/openbox/commitdiff
only show -sm-client-id in the help when session management is build in
authorDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 09:40:15 +0000 (09:40 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Jun 2003 09:40:15 +0000 (09:40 +0000)
openbox/openbox.c

index 4329dadeff6e5bb32e054ab8dcae0182d3222a79..10970820123f32c288bfcda205ab91812039b2e2 100644 (file)
@@ -470,7 +470,9 @@ static void print_help()
     g_print("Syntax: %s [options]\n\n", BINARY);
     g_print("Options:\n\n");
     g_print("  -rc PATH          Specify the path to the rc file to use\n");
+#ifdef USE_SM
     g_print("  -sm-client-id ID  Specify the session manager ID\n");
+#endif
     g_print("  -help             Display this help and exit\n");
     g_print("  -version          Display the version and exit\n");
     g_print("  -sync             Run in synchronous mode (this is slow and\n"
This page took 0.022061 seconds and 4 git commands to generate.