]> git.pld-linux.org Git - packages/rpcbind.git/blob - rpcbind-usage.patch
- added systemd package
[packages/rpcbind.git] / rpcbind-usage.patch
1 commit c5e04d3ef1b4d9a24741dc865aaa55b07fe3c89f
2 Author: Steve Dickson <steved@redhat.com>
3 Date:   Thu Jun 25 08:41:29 2009 -0400
4
5     Corrected the usage info to match what the rpcbind man
6     page says.
7     
8     Signed-off-by: Steve Dickson <steved@redhat.com>
9
10 diff --git a/src/rpcbind.c b/src/rpcbind.c
11 index 525ffba..ddf2cfc 100644
12 --- a/src/rpcbind.c
13 +++ b/src/rpcbind.c
14 @@ -731,7 +731,7 @@ parseargs(int argc, char *argv[])
15  {
16         int c;
17         oldstyle_local = 1;
18 -       while ((c = getopt(argc, argv, "dwah:ils")) != -1) {
19 +       while ((c = getopt(argc, argv, "adh:ilsw")) != -1) {
20                 switch (c) {
21                 case 'a':
22                         doabort = 1;    /* when debugging, do an abort on */
23 @@ -764,7 +764,7 @@ parseargs(int argc, char *argv[])
24                         break;
25  #endif
26                 default:        /* error */
27 -                       fprintf(stderr, "usage: rpcbind [-Idwils]\n");
28 +                       fprintf(stderr, "usage: rpcbind [-adhilsw]\n");
29                         exit (1);
30                 }
31         }
This page took 0.05385 seconds and 3 git commands to generate.