diff mbox

[opensm] update man page and usage explanation for --lfts_file

Message ID 51F9061B.4030009@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock July 31, 2013, 12:42 p.m. UTC
From: Daniel Klein <danielk@mellanox.com>

Add explanation that --lfts_file is relevant when using 'file' routing
engine.

Signed-off-by: Daniel Klein <danielk@mellanox.com>
---
 man/opensm.8.in | 3 ++-
 opensm/main.c   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

 	       "          This option specifies the name of the SA DB dump file\n"
 	       "          from where SA database will be loaded.\n\n");
diff mbox

Patch

diff --git a/man/opensm.8.in b/man/opensm.8.in
index aa4a34b..d689230 100644
--- a/man/opensm.8.in
+++ b/man/opensm.8.in
@@ -204,7 +204,8 @@  loaded.
 .TP
 \fB\-U\fR, \fB\-\-lfts_file\fR <file name>
 This option specifies the name of the LFTs file
-from where switch forwarding tables will be loaded.
+from where switch forwarding tables will be loaded when using "file"
routing
+engine.
 .TP
 \fB\-S\fR, \fB\-\-sadb_file\fR <file name>
 This option specifies the name of the SA DB dump file
diff --git a/opensm/main.c b/opensm/main.c
index 74dd24f..1c8ce4c 100644
--- a/opensm/main.c
+++ b/opensm/main.c
@@ -217,7 +217,8 @@  static void show_usage(void)
 	       "          loaded.\n\n");
 	printf("--lfts_file, -U <file name>\n"
 	       "          This option specifies the name of the LFTs file\n"
-	       "          from where switch forwarding tables will be
loaded.\n\n");
+	       "          from where switch forwarding tables will be loaded
when using \"file\"\n"
+	       "          routing engine.\n\n");
 	printf("--sadb_file, -S <file name>\n"