commit | de8b2c4276afec670dee5c7942ac74f2d0c66500 | [log] [tgz] |
---|---|---|
author | Thiago Farina <thiago.farina@gmail.com> | Wed Sep 09 00:41:34 2009 -0400 |
committer | Shawn O. Pearce <sop@google.com> | Sun Jan 09 17:39:22 2011 -0800 |
tree | 4340130ff76580c6ff1a6f41a386bceb21ce91cc | |
parent | 727ee98a401b5993f6b952074f43c7f770604acf [diff] [blame] |
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)
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