]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
volscan: hide -mask option
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 15 Mar 2014 15:04:31 +0000 (11:04 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 13 Aug 2014 18:37:35 +0000 (14:37 -0400)
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 <shadow@your-file-system.com>
Tested-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit 8119636976de651ff0b8ccdca6a1a703643f7447)

Change-Id: I21519d7c0e9b3e3900cf3cd4c561d1a5aed1ef90
Reviewed-on: http://gerrit.openafs.org/11276
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/vol/vol-info.c

index 5eccbb07aaea73daa6ac95e8c7c2b3b5f0564688..9a48d6d69aa39c6c844018cc7fb9deb994b92634 100644 (file)
@@ -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);