Chromium Code Reviews| Index: fetch.py |
| diff --git a/fetch.py b/fetch.py |
| index 5973e054fc5a5dd81ca6f4dc10dc503bd13fde4f..2109017b3da310fb244625f8caab1ca22c536bfb 100755 |
| --- a/fetch.py |
| +++ b/fetch.py |
| @@ -156,6 +156,8 @@ def handle_args(argv): |
| """Gets the recipe name from the command line arguments.""" |
| if len(argv) <= 1: |
| usage('Must specify a recipe.') |
| + if argv[1] in ('-h', '--help', 'help'): |
| + usage() |
| def looks_like_arg(arg): |
| return arg.startswith('--') and arg.count('=') == 1 |