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

Unified Diff: recipe_engine/bundle.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/autoroll.py ('k') | recipe_engine/depgraph.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/bundle.py
diff --git a/recipe_engine/bundle.py b/recipe_engine/bundle.py
index 21ab4a965294d4b93baf787f3c708ac3d176a260..f579b5d88bf6c1098188bbd79c6d513a4e2876dc 100755
--- a/recipe_engine/bundle.py
+++ b/recipe_engine/bundle.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# 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.
@@ -627,15 +627,16 @@ def prep_recipes_py(universe, root_package, destination):
def add_subparser(parser):
bundle_p = parser.add_parser(
- 'bundle',
- description=(
- 'Create a hermetically runnable recipe bundle. This captures the result'
- ' of all network operations the recipe_engine might normally do to'
- ' bootstrap itself.'))
+ 'bundle',
+ help='Create a hermetically runnable recipe bundle.',
+ description=(
+ 'Create a hermetically runnable recipe bundle. This captures the result'
+ ' of all network operations the recipe_engine might normally do to'
+ ' bootstrap itself.'))
bundle_p.add_argument(
- '--destination', default='./bundle',
- type=os.path.abspath,
- help='The directory of where to put the bundle (default: %(default)r).')
+ '--destination', default='./bundle',
+ type=os.path.abspath,
+ help='The directory of where to put the bundle (default: %(default)r).')
bundle_p.set_defaults(command='bundle', func=main)
« no previous file with comments | « recipe_engine/autoroll.py ('k') | recipe_engine/depgraph.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698