[ofa-general] [Patch] Trivial: update usage info for ibaddr.c in infiniband-diags-1.4.1

Doug Ledford dledford at redhat.com
Fri Oct 17 10:04:39 PDT 2008


Simple patch just to add an option to the usage info that was left out
but is valid.

Signed-off-by: Doug Ledford <dledford at redhat.com>
---

--- infiniband-diags-1.4.1/src/ibaddr.c.sm	2008-10-17 12:59:17.000000000 -0400
+++ infiniband-diags-1.4.1/src/ibaddr.c	2008-10-17 13:02:06.000000000 -0400
@@ -95,7 +95,7 @@ usage(void)
 	else
 		basename++;
 
-	fprintf(stderr, "Usage: %s [-d(ebug) -D(irect) -G(uid) -l(id_show) -g(id_show) -C ca_name -P ca_port "
+	fprintf(stderr, "Usage: %s [-d(ebug) -D(irect) -G(uid) -l(id_show) -g(id_show) -s(m_port) sm_lid -C ca_name -P ca_port "
 			"-t(imeout) timeout_ms -V(ersion) -h(elp)] [<lid|dr_path|guid>]\n",
 			basename);
 	fprintf(stderr, "\tExamples:\n");


-- 
Doug Ledford <dledford at redhat.com>
              GPG KeyID: CFBFF194
              http://people.redhat.com/dledford

Infiniband specific RPMs available at
              http://people.redhat.com/dledford/Infiniband

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20081017/30332abb/attachment.sig>


More information about the general mailing list