summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md2
-rwxr-xr-xscripts/find.py8
3 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e03d509..0e1c823 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
HTML = ./scripts/html.py
FIND = ./scripts/find.py
-ALLYAML = $(shell ${FIND} -a)
+ALLYAML = $(shell ${FIND} -all)
FOLDERS = $(subst ./,,$(shell cd ./projects; find -type d))
TEAM = Core IO MM
MEMBER = BSP Geert Jacopo Kaneko Kieran Laurent Magnus Marek Morimoto Niklas Shimoda Simon Ulrich Wolfram
diff --git a/README.md b/README.md
index 6f40bf2..1df41ba 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,6 @@ 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
@@ -46,6 +45,7 @@ You need to have **.config** file. You can copy sample .config, and edit it
* -f : show with file name
* -r : show with relationships
* --oneline : show one line
+ * --all : show all tasks
# HTML
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