From: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
To: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH] infiniband-diags: update ib[hosts|switches|routers] to standard options
Date: Thu, 3 May 2012 10:31:46 -0700 [thread overview]
Message-ID: <20120503103146.c2f0f1e5.weiny2@llnl.gov> (raw)
Signed-off-by: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
---
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2012-05-03 17:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120503103146.c2f0f1e5.weiny2@llnl.gov \
--to=weiny2-i2bct+ncu+m@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox