Skip to contentSkip to conversation

infiniband-diags: update ib[hosts|switches|routers] to standard options

PATCH New Ira Weiny 1 participant 1 message May 3, 2012 InfiniBand

lore
Share & tools
lore

Ira Weiny

author
#0 lore raw

PATCH 1/1 infiniband-diags: update ib[hosts|switches|routers] to standard options

---
 scripts/ibhosts.in    |    6 +++---
 scripts/ibrouters.in  |    6 +++---
 scripts/ibswitches.in |    6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
scripts/ibhosts.in +3 -3
index 08b2f83..20abdf3 100644
@@ -4,7 +4,7 @@ IBPATH=${IBPATH:-@IBSCRIPTPATH@}
 
 function usage() {
 	echo Usage: `basename $0` "[-h] [<topology-file> | -C ca_name" \
-	    "-P ca_port -t(imeout) timeout_ms]"
+	    "-P ca_port -t timeout_ms]"
 	exit -1
 }
 
@@ -13,10 +13,10 @@ ca_info=""
 
 while [ "$1" ]; do
 	case $1 in
-	-h)
+	-h | --help)
 		usage
 		;;
-	-P | -C | -t | -timeout)
+	-P | --Port | -C | --Ca | -t | --timeout)
 		case $2 in
 		-*)
 			usage
scripts/ibrouters.in +3 -3
index 97769db..71f4c60 100644
@@ -4,7 +4,7 @@ IBPATH=${IBPATH:-@IBSCRIPTPATH@}
 
 function usage() {
 	echo Usage: `basename $0` "[-h] [<topology-file> | -C ca_name" \
-	    "-P ca_port -t(imeout) timeout_ms]"
+	    "-P ca_port -t timeout_ms]"
 	exit -1
 }
 
@@ -13,10 +13,10 @@ ca_info=""
 
 while [ "$1" ]; do
 	case $1 in
-	-h)
+	-h | --help)
 		usage
 		;;
-	-P | -C | -t | -timeout)
+	-P | --Port | -C | --Ca | -t | --timeout)
 		case $2 in
 		-*)
 			usage
scripts/ibswitches.in +3 -3
index 2919a0a..2a1bcae 100644
@@ -4,7 +4,7 @@ IBPATH=${IBPATH:-@IBSCRIPTPATH@}
 
 function usage() {
 	echo Usage: `basename $0` "[-h] [<topology-file> | -C ca_name" \
-	    "-P ca_port -t(imeout) timeout_ms]"
+	    "-P ca_port -t timeout_ms]"
 	exit -1
 }
 
@@ -13,10 +13,10 @@ ca_info=""
 
 while [ "$1" ]; do
 	case $1 in
-	-h)
+	-h | --help)
 		usage
 		;;
-	-P | -C | -t | -timeout)
+	-P | --Port | -C | --Ca | -t | --timeout)
 		case $2 in
 		-*)
 			usage
Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html