From 8119636976de651ff0b8ccdca6a1a703643f7447 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Sat, 15 Mar 2014 11:04:31 -0400 Subject: [PATCH] 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 --- src/vol/vol-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5