diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-03-06 10:42:19 +0900 |
---|---|---|
committer | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-04-09 14:59:46 +0900 |
commit | 7997deae1430017e0cae7ad5337ffdfff0dc0e71 (patch) | |
tree | 30162029467df04acc0a2163cf17a3604f315aa6 /scripts | |
parent | 17a5ae0b96fd0517bbf4546f3d20ba3484f5df24 (diff) |
find: replace -a to -all
commit fbd5adac3e9a0 ("find: add -a option")
added -a option to indicate all tasks, but it was same as
assignee member. This patch fixup it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/find.py | 8 |
1 files changed, 5 insertions, 3 deletions
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 |