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 840ed0fab7)
This commit is contained in:
Thiago Farina 2009-09-09 00:41:34 -04:00 committed by Shawn O. Pearce
parent 727ee98a40
commit de8b2c4276

View File

@ -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