diff options
author | Marcel Telka <marcel.telka@nexenta.com> | 2015-02-20 19:29:26 +0100 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2015-02-22 16:16:03 -0500 |
commit | a1cf91d7adb92b3440a7ed1b01e3170ec61e9350 (patch) | |
tree | 6a06ae8992bc207b3c06fe0d73c098b0c1838b61 /usr/src/cmd | |
parent | ff3aea39f71c371be25b08deb9efed41f1c95983 (diff) | |
download | illumos-gate-a1cf91d7adb92b3440a7ed1b01e3170ec61e9350.tar.gz |
5644 rpcinfo(1m): The first synopsis supports the -T option too
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/cmd')
-rw-r--r-- | usr/src/cmd/rpcinfo/rpcinfo.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/cmd/rpcinfo/rpcinfo.c b/usr/src/cmd/rpcinfo/rpcinfo.c index 702a628980..34051052e8 100644 --- a/usr/src/cmd/rpcinfo/rpcinfo.c +++ b/usr/src/cmd/rpcinfo/rpcinfo.c @@ -1581,20 +1581,22 @@ progping(netid, argc, argv) static void usage() { - (void) fprintf(stderr, "Usage: rpcinfo [-m | -s] [host]\n"); + (void) fprintf(stderr, "Usage: rpcinfo [-T netid] [-m | -s] [host]\n"); #ifdef PORTMAP (void) fprintf(stderr, " rpcinfo -p [host]\n"); #endif (void) fprintf(stderr, " rpcinfo -T netid host prognum [versnum]\n"); - (void) fprintf(stderr, " rpcinfo -l host prognum versnum\n"); + (void) fprintf(stderr, + " rpcinfo -l [-T netid] host prognum versnum\n"); #ifdef PORTMAP (void) fprintf(stderr, -" rpcinfo [-n portnum] -u | -t host prognum [versnum]\n"); + " rpcinfo [-n portnum] -u | -t host prognum [versnum]\n"); #endif (void) fprintf(stderr, -" rpcinfo -a serv_address -T netid prognum [version]\n"); - (void) fprintf(stderr, " rpcinfo -b prognum versnum\n"); + " rpcinfo -a serv_address -T netid prognum [versnum]\n"); + (void) fprintf(stderr, + " rpcinfo -b [-T netid] prognum versnum\n"); (void) fprintf(stderr, " rpcinfo -d [-T netid] prognum versnum\n"); } |