diff options
-rw-r--r-- | README.md | 1 | ||||
-rwxr-xr-x | scripts/find.py | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -37,6 +37,7 @@ You need to have **.config** file. You can copy sample .config, and edit it - ject 7ddd3743-fa13-4966-bcf0-10609b873ab5 e704e989-ccaa-48a5-8f58-28c5b93467ff * -s : show matched status task * -ns : show unmatched status task + * -is : ignore status - ject -s Active ... # single match - ject -s Active,New ... # multi match - ject -ns Done # not match 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): |