From 2ba449f0e7ec28617548b3d994398f2a159e59d3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 Aug 2011 13:41:27 +0200 Subject: [PATCH] Rename --instroot to --root. --- pakfire/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pakfire/cli.py b/pakfire/cli.py index f3c4d7dc..9ca21311 100644 --- a/pakfire/cli.py +++ b/pakfire/cli.py @@ -25,7 +25,7 @@ class Cli(object): self.parse_common_arguments() - self.parser.add_argument("--instroot", metavar="PATH", + self.parser.add_argument("--root", metavar="PATH", default="/", help=_("The path where pakfire should operate in.")) @@ -67,8 +67,8 @@ class Cli(object): def pakfire_args(self): ret = { "mode" : "normal" } - if hasattr(self.args, "instroot"): - ret["path"] = self.args.instroot + if hasattr(self.args, "root"): + ret["path"] = self.args.root if hasattr(self.args, "disable_repo"): ret["disable_repos"] = self.args.disable_repo -- 2.39.2