From fe482244fcacb169d4b5e93c300433b6e807c462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Thu, 28 Jul 2005 22:34:33 +0000 Subject: [PATCH] =?UTF-8?q?update-repo=20parametresiz=20=C3=A7al=C4=B1?= =?UTF-8?q?=C5=9Ft=C4=B1r=C4=B1lamaz.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/cli/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 97571738..bda20463 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -266,6 +266,10 @@ TODO: Some description... super(UpdateRepo, self).__init__() def run(self): + if not self.args: + self.help() + return + self.init_db() for repo in self.args: pisi.toplevel.update_repo(repo)