From 860f285471e817a48842164d715911972c19f2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 18 Jul 2005 08:51:13 +0000 Subject: [PATCH] =?UTF-8?q?bir=20k=C3=BC=C3=A7=C3=BCk=20hata=20giderme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/cli/pisicli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pisi/cli/pisicli.py b/pisi/cli/pisicli.py index 93c7bc89..ce6f505f 100644 --- a/pisi/cli/pisicli.py +++ b/pisi/cli/pisicli.py @@ -72,7 +72,7 @@ class Command(object): version="%prog " + pisi.__version__) #self.parser.allow_interspersed_args = False self.options() - self.parsr = commonopts(self.parser) + self.parser = commonopts(self.parser) (self.options, args) = self.parser.parse_args() self.args = args[1:] @@ -112,11 +112,13 @@ class Help(Command): def run(self): if not self.args: print usage_text + print self.parser.format_option_help() return for arg in self.args: obj = cmdObject(arg, True) obj.help() +# print "\n",self.parser.format_option_help() class Build(Command): """build: compile PISI package using a pspec.xml file"""