diff options
Diffstat (limited to 'scripts/find.py')
-rwxr-xr-x | scripts/find.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/find.py b/scripts/find.py index cbefcbe..9c02258 100755 --- a/scripts/find.py +++ b/scripts/find.py @@ -27,14 +27,14 @@ class find(base.base): match = 0 for cmd in arg: if (cmd == "-a"): - return [] + return arg if ((cmd == "-s") or (cmd == "-ns")): match = 1 if (not match): - return ["-ns", "Done"] + arg += ["-ns", "Done"] - return [] + return arg #-------------------- # parse_option @@ -101,7 +101,7 @@ class find(base.base): self.parse_files(arg) - arg += self.default_arg(arg) + arg = self.default_arg(arg) # -a : all # -s : matched status |