summaryrefslogtreecommitdiff
path: root/src/frontend/cli/sisyphus-cli.py
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2020-06-22 12:19:01 +0300
committerbionel <ionel.busuioc@gmail.com>2020-06-22 12:19:01 +0300
commit94435dc8ad302c54448fdfe5b1add8d9a2b264f9 (patch)
treec0b7aff964fafe93ed15b24f6cd6261102880802 /src/frontend/cli/sisyphus-cli.py
parent695b389d50eb5e73662ff2ef1c7e5744b8926365 (diff)
add readme, make setjobs more selectivev4.2006.0
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py2
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()