diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-02 01:07:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-02 01:07:55 +0000 |
commit | ed3747e4ff721914d1df6b62788a91a1e8b3f741 (patch) | |
tree | 25f2987643c99657eb8f7945d1f68c19c9cfa2bf /src/frontend/cli/sisyphus-cli.py | |
parent | fb13a317b1468c6070f4c6131a6526ffbf284511 (diff) |
* better explain some used terms
* update the help menu and CLI documentation
* remove animations from setjobs module (it takes less than a second, so it's pointless)
* make some error messages less cryptic && offer help to understand them
* don't kill the graphical interface right away if there is a missmatch, display the error, offer help && and then die in 10 seconds
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 5c87698..eb385d1 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -8,7 +8,7 @@ import sys app = typer.Typer() mirrorSetup = typer.Typer() -app.add_typer(mirrorSetup, name="mirror", help='List/Set the active binary repository mirror.') +app.add_typer(mirrorSetup, name="mirror", help='List/Set the active binhost (binary repository) mirror.') @app.callback() def app_callback(ctx: typer.Context): @@ -249,9 +249,9 @@ def branch(branch: Branch = typer.Argument(...), remote: Remote = typer.Option(R !!! WARNING !!! - Once you changed the branch, you must pair it with the correct binary repository. + Once you changed the branch, you must pair it with the correct binhost (binary repository). - Branch 'master' must be paired with the stable binary repository (odd numbers in 'sisyphus mirror list'). + Branch 'master' must be paired with the stable binhost (binary repository) (odd numbers in 'sisyphus mirror list'). * Examples: @@ -259,7 +259,7 @@ def branch(branch: Branch = typer.Argument(...), remote: Remote = typer.Option(R sisyphus mirror set 5 - Branch 'next' must be paired with the testing binary repository (even numbers in 'sisyphus mirror list'). + Branch 'next' must be paired with the testing binhost (binary repository) (even numbers in 'sisyphus mirror list'). * Examples: @@ -287,5 +287,5 @@ def mirrorset(index: int): if __name__ == "__main__": if len(sys.argv) > 1 and not '--help' in sys.argv: sisyphus.check.update() - sisyphus.setjobs.start.__wrapped__() # undecorate + sisyphus.setjobs.start() app() |