]> git.ipfire.org Git - pakfire.git/commitdiff
Rename --instroot to --root.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Aug 2011 11:41:27 +0000 (13:41 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Aug 2011 11:41:27 +0000 (13:41 +0200)
pakfire/cli.py

index f3c4d7dcae4d922c8518ea0974c56ebb4c86c8df..9ca21311fd601beb83972196bef69c1de56905e2 100644 (file)
@@ -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