summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-01-29 15:28:08 +0900
committerKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-01-29 15:57:03 +0900
commitf758b244242ae4c4309c88a0899cfe9c368aabca (patch)
treeb3ac6ffcf96954b76577f4781fa8f48f538d664d /scripts
parentec476fb6586b3a78ced2f4ec886c51b223c3942f (diff)
find.py: add -is option to ignore status
find.py will add -ns automatically if user didn't select -s or -ns, but it is not good if user want to search from all tasks. This patch adds -is to ignore status. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/find.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/find.py b/scripts/find.py
index 9941bff..e0f6558 100755
--- a/scripts/find.py
+++ b/scripts/find.py
@@ -27,7 +27,7 @@ class find(base.base):
# replace -a NoAssignee to -na ""
#
# add "-ns Done" automatically
- # if user doesn't specify "-s" or "-ns"
+ # if user doesn't specify "-s" or "-ns" or "-is"
match = 0
for i in range(len(arg)):
if (arg[i] == "-all"):
@@ -36,7 +36,7 @@ class find(base.base):
(arg[i+1] == "NoAssignee")):
arg[i] = "-na"
arg[i+1] = ""
- if ((arg[i] == "-s") or (arg[i] == "-ns")):
+ if ((arg[i] == "-s") or (arg[i] == "-ns") or (arg[i] == "-is")):
match = 1
if (not match):