From: Michael Meffie Date: Sat, 15 Mar 2014 15:04:31 +0000 (-0400) Subject: volscan: hide -mask option X-Git-Tag: upstream/1.8.0_pre1^2~746 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8119636976de651ff0b8ccdca6a1a703643f7447;p=packages%2Fo%2Fopenafs.git volscan: hide -mask option The -mask option is unneccessary and sets a bad precedent, so deprecate and hide this option. The vnodes of interest can be found can be found easily and much more flexibly with a simple command pipeline. Change-Id: Ibe75928c6b041d135c0cb5867228947cd7f4e889 Reviewed-on: http://gerrit.openafs.org/10901 Reviewed-by: D Brashear Tested-by: D Brashear --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 8ba8c7af8..cbb179a44 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -1460,7 +1460,7 @@ VolScanSyntax(void) "Volume types: rw, ro, bk"); cmd_AddParmAtOffset(ts, P_FIND, "-find", CMD_LIST, CMD_OPTIONAL, "Objects to find: file, dir, mount, symlink, acl"); - cmd_AddParmAtOffset(ts, P_MASK, "-mask", CMD_LIST, CMD_OPTIONAL, + cmd_AddParmAtOffset(ts, P_MASK, "-mask", CMD_LIST, (CMD_OPTIONAL | CMD_HIDE), "Unix mode mask (example: 06000)"); cmd_AddParmAtOffset(ts, P_OUTPUT, "-output", CMD_LIST, CMD_OPTIONAL, ColumnNames);