From: Michael Meffie Date: Sat, 15 Mar 2014 15:04:31 +0000 (-0400) Subject: volscan: hide -mask option X-Git-Tag: upstream/1.6.10_pre1^2~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bbe8d75cc4ac02721dcb080170e17b7ce09ce0e9;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. Reviewed-on: http://gerrit.openafs.org/10901 Reviewed-by: D Brashear Tested-by: D Brashear (cherry picked from commit 8119636976de651ff0b8ccdca6a1a703643f7447) Change-Id: I21519d7c0e9b3e3900cf3cd4c561d1a5aed1ef90 Reviewed-on: http://gerrit.openafs.org/11276 Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 5eccbb07a..9a48d6d69 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -1486,7 +1486,7 @@ VolScanSyntax(void) "Volume types: rw, ro, bk"); cmd_AddParm(ts, "-find", CMD_LIST, CMD_OPTIONAL, "Objects to find: file, dir, mount, symlink, acl"); - cmd_AddParm(ts, "-mask", CMD_LIST, CMD_OPTIONAL, + cmd_AddParm(ts, "-mask", CMD_LIST, (CMD_OPTIONAL | CMD_HIDE), "Unix mode mask (example: 06000)"); cmd_AddParm(ts, "-output", CMD_LIST, CMD_OPTIONAL, ColumnNames);