diff options
author | Thiago Farina <thiago.farina@gmail.com> | 2009-09-09 00:41:34 -0400 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2011-01-09 17:39:22 -0800 |
commit | de8b2c4276afec670dee5c7942ac74f2d0c66500 (patch) | |
tree | 4340130ff76580c6ff1a6f41a386bceb21ce91cc | |
parent | 727ee98a401b5993f6b952074f43c7f770604acf (diff) | |
download | git-repo-de8b2c4276afec670dee5c7942ac74f2d0c66500.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>
(cherry picked from commit 840ed0fab7cb4c2ab296c7d7d45f13e2523bae1c)
-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 | ||