summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-21 09:40:15 +0000
committerDana Jansens <danakj@orodu.net>2003-06-21 09:40:15 +0000
commit7f2550e0ce97957192e6b467a6be9104feca18c2 (patch)
treeccaf48ddf6e06be0ec390415c6ceca2ca0926105 /openbox/openbox.c
parente6739af2825ab9fe872c2860a8eac31b742c66d5 (diff)
only show -sm-client-id in the help when session management is build in
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 4329dade..10970820 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -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"