diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-11-12 17:25:25 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-11-12 17:25:25 +0100 | 
| commit | 14304e0827cd7de7fc55b1ba587ccdd380525b94 (patch) | |
| tree | f70c126b91e68b66d7005cfea53b88a82aa0c7fa /util/ipmi_sample.c | |
| parent | d279e229635f19852dc829552aa7c7d72d7a4dd2 (diff) | |
New upstream release
Diffstat (limited to 'util/ipmi_sample.c')
| -rw-r--r-- | util/ipmi_sample.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/util/ipmi_sample.c b/util/ipmi_sample.c index ddda7f3..faa0d51 100644 --- a/util/ipmi_sample.c +++ b/util/ipmi_sample.c @@ -115,7 +115,7 @@ main(int argc, char **argv)     printf("%s ver %s\n", progname,progver); -   while ((c = getopt( argc, argv,"i:l:m:f:s:t:xEF:N:P:R:T:U:V:YZ:?")) != EOF )  +   while ((c = getopt( argc, argv,"i:l:m:p:f:s:t:xEF:N:P:R:T:U:V:YZ:?")) != EOF )         switch(c) {            case 'm': /* specific IPMB MC, 3-byte address, e.g. "409600" */                      g_bus = htoi(&optarg[0]);  /*bus/channel*/ @@ -136,6 +136,7 @@ main(int argc, char **argv)            case 's': sdrfile = optarg; break;             case 't': mytag = optarg; break; /* specific sensor tag */            case 'x': fdebug = 1;     break;  /* debug messages */ +          case 'p':    /* port */            case 'N':    /* nodename */            case 'U':    /* remote username */            case 'P':    /* remote password */ @@ -158,7 +159,7 @@ main(int argc, char **argv)  		printf("       -m002000 specific MC (bus 00,sa 20,lun 00)\n");                  printf("       -s File  loads SDRs from File\n");                  printf("       -t tag   search for 'tag' in SDRs\n"); -		print_lan_opt_usage(); +		print_lan_opt_usage(1);                  exit(1);        }     /* Rather than parse_lan_options above, the set_lan_options function  | 
