summaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-13 21:11:38 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-13 21:11:38 +0100
commit61c601622a8c1c8d099a48b88d9fb3145e694fe7 (patch)
tree7aa858e1704a05ec93efca6c811215ccd28f93ca /src/frontend
parentc3295c44d8dedff9afc20c86f7b371b7489a62cc (diff)
add capability to switch branches
Diffstat (limited to 'src/frontend')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 5ec0504..13c84f2 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -49,6 +49,13 @@ if "__main__" == __name__:
showHelp()
else:
showHelp()
+ elif "--branch" in sys.argv[1:]:
+ if "--master" in sys.argv[2:]:
+ setupStable()
+ elif "--next" in sys.argv[2:]:
+ setupTesting()
+ else:
+ showHelp()
elif "--help" in sys.argv[1:]:
showHelp()
else: