mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
viced: Misc argument parsing fixes
- It's -pctspare, not pctspare. - The -config and -logfile options are already specified in the "testing" options section. Don't specify them again here. Change-Id: Ieace97d92d35dc2e310a8122bdec7987246aa723 Reviewed-on: http://gerrit.openafs.org/10416 Tested-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
5e461e52dc
commit
f2ac99c5b4
@ -1042,7 +1042,7 @@ ParseArgs(int argc, char *argv[])
|
||||
|
||||
cmd_AddParmAtOffset(opts, OPT_spare, "-spare", CMD_SINGLE,
|
||||
CMD_OPTIONAL, "kB overage on volume quota");
|
||||
cmd_AddParmAtOffset(opts, OPT_pctspare, "pctspare", CMD_SINGLE,
|
||||
cmd_AddParmAtOffset(opts, OPT_pctspare, "-pctspare", CMD_SINGLE,
|
||||
CMD_OPTIONAL, "percentage overage on volume quota");
|
||||
|
||||
cmd_AddParmAtOffset(opts, OPT_hostcpsrefresh, "-hr", CMD_SINGLE,
|
||||
@ -1116,12 +1116,8 @@ ParseArgs(int argc, char *argv[])
|
||||
CMD_OPTIONAL, "location of audit log");
|
||||
cmd_AddParmAtOffset(opts, OPT_auditiface, "-audit-interface", CMD_SINGLE,
|
||||
CMD_OPTIONAL, "interface to use for audit logging");
|
||||
cmd_AddParmAtOffset(opts, OPT_config, "-config", CMD_SINGLE, CMD_OPTIONAL,
|
||||
"configuration location");
|
||||
cmd_AddParmAtOffset(opts, OPT_debug, "-d", CMD_SINGLE, CMD_OPTIONAL,
|
||||
"debug level");
|
||||
cmd_AddParmAtOffset(opts, OPT_logfile, "-logfile", CMD_SINGLE,
|
||||
CMD_OPTIONAL, "location of logfile");
|
||||
cmd_AddParmAtOffset(opts, OPT_mrafslogs, "-mrafslogs", CMD_FLAG,
|
||||
CMD_OPTIONAL, "enable MRAFS style logging");
|
||||
cmd_AddParmAtOffset(opts, OPT_threads, "-p", CMD_SINGLE, CMD_OPTIONAL,
|
||||
|
Loading…
Reference in New Issue
Block a user