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

Unified Diff: recipe_engine/refs.py

Issue 2845923002: [recipes.py] use argparse to set command automatically. (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/lint_test.py ('k') | recipe_engine/remote.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/refs.py
diff --git a/recipe_engine/refs.py b/recipe_engine/refs.py
index 46d9f9bda6373eb5543f29b80202bede1dc6cd1e..6793af640e10d61fd704bfec9cd40d7c524f9864 100644
--- a/recipe_engine/refs.py
+++ b/recipe_engine/refs.py
@@ -15,7 +15,7 @@ def add_subparser(parser):
refs_p.add_argument('--transitive', action='store_true',
help='Compute transitive closure of the references')
- refs_p.set_defaults(command='refs', func=main)
+ refs_p.set_defaults(func=main)
def main(package_deps, args):
« no previous file with comments | « recipe_engine/lint_test.py ('k') | recipe_engine/remote.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698