summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2009-06-25 08:41:29 -0400
committerSteve Dickson <steved@redhat.com>2009-06-25 08:41:29 -0400
commitc5e04d3ef1b4d9a24741dc865aaa55b07fe3c89f (patch)
treebaf4ece8fd5247fe677a2748d91106530d42d7ea
parentb29ff67243a574a2ffd7ab28c007990ccbddfd77 (diff)
downloadrpcbind-c5e04d3ef1b4d9a24741dc865aaa55b07fe3c89f.tar.gz
Corrected the usage info to match what the rpcbind man
page says. Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--src/rpcbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcbind.c b/src/rpcbind.c
index 525ffba..ddf2cfc 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -731,7 +731,7 @@ parseargs(int argc, char *argv[])
{
int c;
oldstyle_local = 1;
- while ((c = getopt(argc, argv, "dwah:ils")) != -1) {
+ while ((c = getopt(argc, argv, "adh:ilsw")) != -1) {
switch (c) {
case 'a':
doabort = 1; /* when debugging, do an abort on */
@@ -764,7 +764,7 @@ parseargs(int argc, char *argv[])
break;
#endif
default: /* error */
- fprintf(stderr, "usage: rpcbind [-Idwils]\n");
+ fprintf(stderr, "usage: rpcbind [-adhilsw]\n");
exit (1);
}
}