Signed-off-by: Ira Weiny <[email protected]>
---
scripts/ibhosts.in | 6 +++---
scripts/ibrouters.in | 6 +++---
scripts/ibswitches.in | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/scripts/ibhosts.in b/scripts/ibhosts.in
index 08b2f83..20abdf3 100644
--- a/scripts/ibhosts.in
+++ b/scripts/ibhosts.in
@@ -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
diff --git a/scripts/ibrouters.in b/scripts/ibrouters.in
index 97769db..71f4c60 100644
--- a/scripts/ibrouters.in
+++ b/scripts/ibrouters.in
@@ -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
diff --git a/scripts/ibswitches.in b/scripts/ibswitches.in
index 2919a0a..2a1bcae 100644
--- a/scripts/ibswitches.in
+++ b/scripts/ibswitches.in
@@ -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
--
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