From de8b2c4276afec670dee5c7942ac74f2d0c66500 Mon Sep 17 00:00:00 2001 From: Thiago Farina Date: Wed, 9 Sep 2009 00:41:34 -0400 Subject: [PATCH] Fix to display the usage message of the command download when the user don't provide any arguments to 'repo download'. Signed-off-by: Thiago Farina (cherry picked from commit 840ed0fab7cb4c2ab296c7d7d45f13e2523bae1c) --- subcmds/download.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subcmds/download.py b/subcmds/download.py index a6f3aa45..61eadd54 100644 --- a/subcmds/download.py +++ b/subcmds/download.py @@ -36,6 +36,9 @@ makes it available in your project's local working directory. pass def _ParseChangeIds(self, args): + if not args: + self.Usage() + to_get = [] project = None