From bbe8d75cc4ac02721dcb080170e17b7ce09ce0e9 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. 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 --- 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 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); -- 2.39.5