From: Michael Tremer Date: Sun, 4 Nov 2012 23:21:09 +0000 (+0100) Subject: cli: Remove obsolete repo_manage_switches flag. X-Git-Tag: 0.9.24~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5627840045132337a9e1fc80f7abc7ed27ec47a2;p=pakfire.git cli: Remove obsolete repo_manage_switches flag. --- diff --git a/python/pakfire/cli.py b/python/pakfire/cli.py index 9435ff998..520489499 100644 --- a/python/pakfire/cli.py +++ b/python/pakfire/cli.py @@ -851,7 +851,7 @@ class CliClient(Cli): description = _("Pakfire client command line interface."), ) - self.parse_common_arguments(repo_manage_switches=True, offline_switch=True) + self.parse_common_arguments(offline_switch=True) # Add sub-commands. self.sub_commands = self.parser.add_subparsers() @@ -1182,7 +1182,7 @@ class CliDaemon(Cli): description = _("Pakfire daemon command line interface."), ) - self.parse_common_arguments(repo_manage_switches=True, offline_switch=True) + self.parse_common_arguments(offline_switch=True) # Finally parse all arguments from the command line and save them. self.args = self.parser.parse_args() @@ -1210,8 +1210,7 @@ class CliKey(Cli): description = _("Pakfire key command line interface."), ) - self.parse_common_arguments(repo_manage_switches=False, - offline_switch=True) + self.parse_common_arguments(offline_switch=True) # Add sub-commands. self.sub_commands = self.parser.add_subparsers()