summaryrefslogtreecommitdiff
path: root/src/frontend/cli/sisyphus-cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/cli/sisyphus-cli.py')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 9a325c4..6d0253c 100755
--- a/src/frontend/cli/sisyphus-cli.py
+++ b/src/frontend/cli/sisyphus-cli.py
@@ -9,22 +9,22 @@ if "__main__" == __name__:
if sys.argv[1:]:
if "--install" in sys.argv[1:]:
if not pkgList:
- sys.exit("\n" + "Nothing to install, please give at least one package name; quitting" + "\n")
+ sys.exit("\n" + "Nothing to install, please provide at least one package name; quitting" + "\n")
else:
startInstall(pkgList)
elif "--hybrid-install" in sys.argv[1:]:
if not pkgList:
- sys.exit("\n" + "Nothing to install, please give at least one package name; quitting" + "\n")
+ sys.exit("\n" + "Nothing to install, please provide at least one package name; quitting" + "\n")
else:
startHybridInstall(pkgList)
elif "--uninstall" in sys.argv[1:]:
if not pkgList:
- sys.exit("\n" + "Nothing to uninstall, please give at least one package name; quitting" + "\n")
+ sys.exit("\n" + "Nothing to uninstall, please provide at least one package name; quitting" + "\n")
else:
startUninstall(pkgList)
elif "--force-uninstall" in sys.argv[1:]:
if not pkgList:
- sys.exit("\n" + "Nothing to force uninstall, please give at least one package name; quitting" + "\n")
+ sys.exit("\n" + "Nothing to force uninstall, please provide at least one package name; quitting" + "\n")
else:
startUninstallForce(pkgList)
elif "--remove-orphans" in sys.argv[1:]:
@@ -37,9 +37,14 @@ if "__main__" == __name__:
startHybridUpgrade()
elif "--search" in sys.argv[1:]:
if not pkgList:
- sys.exit("\n" + "Nothing to search, please give at least one package name; quitting" + "\n")
+ sys.exit("\n" + "Nothing to search, please provide at least one package name; quitting" + "\n")
else:
startSearch(pkgList)
+ elif "--hybrid-search" in sys.argv[1:]:
+ if not pkgList:
+ sys.exit("\n" + "Nothing to search, please provide at least one package name; quitting" + "\n")
+ else:
+ startHybridSearch(pkgList)
elif "--spmsync" in sys.argv[1:]:
startSyncSPM()
elif "--rescue" in sys.argv[1:]: