From d193ed84ae2886d89b899e02e9642e61bdab462a Mon Sep 17 00:00:00 2001 From: Shwetha K Acharya Date: Mon, 31 Dec 2018 10:55:21 +0530 Subject: tools/glusterfind: option to display only files/directories Updated full find to filter for files and directories. --full --type f lists only the files, --full --type d lists only the directories, --full (by default) lists both files and directories. fixes: #579 Change-Id: If2c91a21a131667d5de34635c1846013e8fa20b7 Signed-off-by: Shwetha K Acharya --- tools/glusterfind/src/changelog.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/glusterfind/src/changelog.py') diff --git a/tools/glusterfind/src/changelog.py b/tools/glusterfind/src/changelog.py index feef2aebdef..437612ff0a4 100644 --- a/tools/glusterfind/src/changelog.py +++ b/tools/glusterfind/src/changelog.py @@ -374,6 +374,7 @@ def _get_args(): action="store_true") parser.add_argument("--output-prefix", help="File prefix in output", default=".") + parser.add_argument("--type",default="both") parser.add_argument("-N", "--only-namespace-changes", help="List only namespace changes", action="store_true") -- cgit