From 5e2479c98551a88dc58a5fe2cbf4d025d92be26b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Apr 2023 14:31:14 +0100 Subject: uninstall : simplify function arguments --- src/frontend/cli/sisyphus-cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/frontend/cli/sisyphus-cli.py') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 6ccf587..0d04e8d 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -167,10 +167,10 @@ def uninstall(pkgname: List[str], force: bool = typer.Option(False, "--force", " will succeed, but the system will be broken """ - if not force: - sisyphus.uninstall.start(pkgname, depclean=True, gfx_ui=False, unmerge=False) + if force: + sisyphus.uninstall.start(pkgname, gfx_ui=False, unmerge=True) else: - sisyphus.uninstall.start(pkgname, depclean=False, gfx_ui=False, unmerge=True) + sisyphus.uninstall.start(pkgname, gfx_ui=False, unmerge=False) @app.command("autoremove") def autoremove(): -- cgit v1.2.3