summaryrefslogtreecommitdiff
path: root/scripts/find.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/find.py')
-rwxr-xr-xscripts/find.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/find.py b/scripts/find.py
index 9c02258..cf25e16 100755
--- a/scripts/find.py
+++ b/scripts/find.py
@@ -22,12 +22,14 @@ class find(base.base):
# default_arg
#--------------------
def default_arg(self, arg):
+ # return [] for -all
+ #
# add "-ns Done" automatically
# if user doesn't specify "-s" or "-ns"
match = 0
for cmd in arg:
- if (cmd == "-a"):
- return arg
+ if (cmd == "-all"):
+ return []
if ((cmd == "-s") or (cmd == "-ns")):
match = 1
@@ -103,7 +105,7 @@ class find(base.base):
arg = self.default_arg(arg)
- # -a : all
+ # -all: all
# -s : matched status
# -ns : not matched status
# -a : matched assignee