summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rwxr-xr-xscripts/find.py3
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index e5e6994..2410b8a 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,7 @@ You need to have **.config** file. You can copy sample .config, and edit it
* key : show matched key task
- ject 7ddd3743-fa13-4966-bcf0-10609b873ab5
- ject 7ddd3743-fa13-4966-bcf0-10609b873ab5 e704e989-ccaa-48a5-8f58-28c5b93467ff
+ * -a : show all
* -s : show matched status task
* -ns : show unmatched status task
- ject -s Active ... # single match
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