diff options
Diffstat (limited to 'pidu')
-rwxr-xr-x | pidu | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ def check_positive(value): if __name__ == "__main__": parser = argparse.ArgumentParser() - parser.add_argument('-j', '--jobs', nargs=1, type=check_positive, default=cpu_count(), help='Use N parallel process to stat() the filesystem' ) - parser.add_argument('path', nargs='*', default=os.getcwd()) + parser.add_argument('-j', '--jobs', nargs=1, type=check_positive, default=[cpu_count()], help='Use N parallel process to stat() the filesystem' ) + parser.add_argument('path', nargs='*', default=[os.getcwd()]) args = parser.parse_args() main(args) |