Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index 6b25cbec86a50801ccdb54e6a8ee8f4ecd9abce9..94bb98a42bdb97e487c7ed3203a6fbffcf4946d2 100644 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -878,6 +878,9 @@ def CMDrecurse(parser, args): |
parser.add_option('-s', '--scm', action='append', default=[], |
help='choose scm types to operate upon') |
options, args = parser.parse_args(args) |
+ if not args: |
+ print >> sys.stderr, 'Need to supply a command!' |
+ return 1 |
root_and_entries = gclient_utils.GetGClientRootAndEntries() |
if not root_and_entries: |
print >> sys.stderr, ( |