From 7f2550e0ce97957192e6b467a6be9104feca18c2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Jun 2003 09:40:15 +0000 Subject: [PATCH] only show -sm-client-id in the help when session management is build in --- openbox/openbox.c | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.45.2