From 1b8ab1074143dcdcb07a47b33e671b49b59fc69b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 Sep 2017 18:42:19 +0100 Subject: sisyphus-backend : add rescue option, to reinit a lost or corrupted db; fix a widespread typo --- src/frontend/cli/sisyphus-cli.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/frontend/cli') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index c6d3e3c..ee90c6f 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -16,14 +16,16 @@ if "__main__" == __name__: sisyphus_pkg_force_uninstall(PKGLIST) elif "remove-orphans" in sys.argv[1:]: sisyphus_pkg_remove_orphans() + elif "update" in sys.argv[1:]: + sisyphus_pkg_system_update elif "upgrade" in sys.argv[1:]: sisyphus_pkg_system_upgrade() elif "search" in sys.argv[1:]: sisyphus_pkg_search(PKGLIST) - elif "update" in sys.argv[1:]: - sisyphus_pkg_system_update() elif "spmsync" in sys.argv[1:]: sisyphus_pkg_spmsync() + elif "rescue" in sys.argv[1:]: + sisyphus_db_rescue() elif "sysinfo" in sys.argv[1:]: sisyphus_pkg_sysinfo() elif "help" in sys.argv[1:]: -- cgit v1.2.3