Minor usage string simplification - this helps to avoid warning with some
version of vim c code analyzer.

Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---
 osm/opensm/main.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/osm/opensm/main.c b/osm/opensm/main.c
index a63fbeb..0993441 100644
--- a/osm/opensm/main.c
+++ b/osm/opensm/main.c
@@ -217,12 +217,11 @@ show_usage(void)
           "          SMPs.\n"
           "          Without -maxsmps, OpenSM defaults to a maximum of\n"
           "          4 outstanding SMPs.\n\n" );
+  printf( "-console [off|local"
 #ifdef ENABLE_OSM_CONSOLE_SOCKET
-  printf( "-console [off|local|socket]\n"
-#else
-  printf( "-console [off|local]\n"
+          "|socket"
 #endif
-          "          This option activates the OpenSM console. (default 
off)\n\n");
+          "]\n          This option activates the OpenSM console. (default 
off)\n\n");
 #ifdef ENABLE_OSM_CONSOLE_SOCKET
   printf( "-console-port <port>\n"
           "          Specify an alternate telnet port for the console (default 
%d).\n\n",
-- 
1.5.0.rc2.g11a3


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to