Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: recipe_engine/fetch.py

Issue 2848443003: [recipes.py] add missing helpstrings, merge test subcommands into main parser. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_engine/doc.py ('k') | recipe_engine/lint_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/fetch.py
diff --git a/recipe_engine/fetch.py b/recipe_engine/fetch.py
index 4a44109fed291c16a9606285f3afc7a4a663b531..dbfbc916eb4303f8a02e8aa35589eefa115a4b53 100644
--- a/recipe_engine/fetch.py
+++ b/recipe_engine/fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2016 The LUCI Authors. All rights reserved.
+# Copyright 2017 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
@@ -595,9 +595,10 @@ class GitilesBackend(Backend):
def add_subparser(parser):
+ helpstr = 'Fetch and update dependencies but take no other action.'
+
fetch_p = parser.add_parser(
- 'fetch',
- description='Fetch and update dependencies.')
+ 'fetch', help=helpstr, description=helpstr)
def postprocess_func(parser, args):
if args.no_fetch:
« no previous file with comments | « recipe_engine/doc.py ('k') | recipe_engine/lint_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698