commit | 840ed0fab7cb4c2ab296c7d7d45f13e2523bae1c | [log] [tgz] |
---|---|---|
author | Thiago Farina <thiago.farina@gmail.com> | Wed Sep 09 00:41:34 2009 -0400 |
committer | Thiago Farina <thiago.farina@gmail.com> | Wed Sep 09 00:41:34 2009 -0400 |
tree | 4b9d661e64b3441ef11fc24ff1b4629697ac188f | |
parent | c024912fb8227db2a1c9232add3b1e7256af170a [diff] |
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 <thiago.farina@gmail.com>
diff --git a/subcmds/download.py b/subcmds/download.py index a6f3aa4..61eadd5 100644 --- a/subcmds/download.py +++ b/subcmds/download.py
@@ -36,6 +36,9 @@ pass def _ParseChangeIds(self, args): + if not args: + self.Usage() + to_get = [] project = None