Permalink
Browse files

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>
  • Loading branch information...
1 parent c024912 commit 840ed0fab7cb4c2ab296c7d7d45f13e2523bae1c @thiagofarina thiagofarina committed Sep 9, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 subcmds/download.py
View
@@ -36,6 +36,9 @@ def _Options(self, p):
pass
def _ParseChangeIds(self, args):
+ if not args:
+ self.Usage()
+
to_get = []
project = None

0 comments on commit 840ed0f

Please sign in to comment.