summaryrefslogtreecommitdiff
path: root/scripts/find.py
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-02-25 15:48:37 +0900
committerKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-04-09 14:59:34 +0900
commit7b826ee9948ade695d86a78f659494b40731067e (patch)
tree72e9028d112b204e408c366f31713a9598e57018 /scripts/find.py
parent27b01f2b9106a9f29bd142be0cca2736c862ef1e (diff)
find: add -a option
default will ignore Done status, but we sometimes want to get all tasks. This patch adds -a option for it Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts/find.py')
-rwxr-xr-xscripts/find.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/find.py b/scripts/find.py
index 89c9cee..cbefcbe 100755
--- a/scripts/find.py
+++ b/scripts/find.py
@@ -26,6 +26,8 @@ class find(base.base):
# if user doesn't specify "-s" or "-ns"
match = 0
for cmd in arg:
+ if (cmd == "-a"):
+ return []
if ((cmd == "-s") or (cmd == "-ns")):
match = 1
@@ -101,6 +103,7 @@ class find(base.base):
arg += self.default_arg(arg)
+ # -a : all
# -s : matched status
# -ns : not matched status
# -a : matched assignee