diff options
author | bionel <ionel.busuioc@gmail.com> | 2020-06-22 12:19:01 +0300 |
---|---|---|
committer | bionel <ionel.busuioc@gmail.com> | 2020-06-22 12:19:01 +0300 |
commit | 94435dc8ad302c54448fdfe5b1add8d9a2b264f9 (patch) | |
tree | c0b7aff964fafe93ed15b24f6cd6261102880802 /src/frontend/cli/sisyphus-cli.py | |
parent | 695b389d50eb5e73662ff2ef1c7e5744b8926365 (diff) |
add readme, make setjobs more selectivev4.2006.0
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 53db6de..65000c0 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -195,7 +195,7 @@ def mirrorset(index: int): sisyphus.mirror.setActive(index) if __name__ == "__main__": - if not '--help' in sys.argv: + if len(sys.argv) > 1 and not '--help' in sys.argv: sisyphus.check.update() sisyphus.setjobs.start.__wrapped__() # undecorate app() |