[ofa-general] [PATCH] opensm/man: add -F. --config option to OpenSM man page

Sasha Khapyorsky sashak at voltaire.com
Wed Jun 25 13:50:32 PDT 2008


Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/man/opensm.8.in |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/opensm/man/opensm.8.in b/opensm/man/opensm.8.in
index 0fb1af5..d5cd820 100644
--- a/opensm/man/opensm.8.in
+++ b/opensm/man/opensm.8.in
@@ -6,7 +6,7 @@ opensm \- InfiniBand subnet manager and administration (SM/SA)
 .SH SYNOPSIS
 .B opensm
 [\-\-version]]
-[\-c(reate-config) <file_name>]
+[\-F | \-\-config <file_name>] [\-c(reate-config) <file_name>]
 [\-g(uid)[=]<GUID in hex>] [\-l(mc) <LMC>]
 [\-p(riority) <PRIORITY>] [\-smkey <SM_Key>] [\-r(eassign_lids)]
 [\-R <engine name> | \-\-routing_engine <engine name>]
@@ -68,6 +68,10 @@ setup the subnet correctly.
 \fB\-\-version\fR
 Prints OpenSM version and exits.
 .TP
+\fB\-F\fR, \fB\-\-config\fR
+The name of the OpenSM config file. When not specified
+\fB\% @OPENSM_CONFIG_DIR@/@OPENSM_CONFIG_FILE@\fP will be used (if exists).
+.TP
 \fB\-c\fR, \fB\-\-create-config\fR
 OpenSM will dump its configuration to the specified file and exit.
 This is a way to generate OpenSM configuration file template.
@@ -941,6 +945,10 @@ Both or one of options -U and -M can be specified together with \'-R file\'.
 
 .SH FILES
 .TP
+.B @OPENSM_CONFIG_DIR@/@OPENSM_CONFIG_FILE@
+default OpenSM config file.
+
+.TP
 .B @OPENSM_CONFIG_DIR@/@NODENAMEMAPFILE@
 default node name map file.  See ibnetdiscover for more information on format.
 
-- 
1.5.5.1.178.g1f811




More information about the general mailing list