diff options
author | Thiago Farina <thiago.farina@gmail.com> | 2009-09-09 00:41:34 -0400 |
---|---|---|
committer | Thiago Farina <thiago.farina@gmail.com> | 2009-09-09 00:41:34 -0400 |
commit | 840ed0fab7cb4c2ab296c7d7d45f13e2523bae1c (patch) | |
tree | 4b9d661e64b3441ef11fc24ff1b4629697ac188f | |
parent | c024912fb8227db2a1c9232add3b1e7256af170a (diff) | |
download | git-repo-840ed0fab7cb4c2ab296c7d7d45f13e2523bae1c.tar.gz |
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>
-rw-r--r-- | subcmds/download.py | 3 |
1 files changed, 3 insertions, 0 deletions
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. | |||
36 | pass | 36 | pass |
37 | 37 | ||
38 | def _ParseChangeIds(self, args): | 38 | def _ParseChangeIds(self, args): |
39 | if not args: | ||
40 | self.Usage() | ||
41 | |||
39 | to_get = [] | 42 | to_get = [] |
40 | project = None | 43 | project = None |
41 | 44 | ||