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

Unified Diff: recipe_engine/run.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/remote.py ('k') | recipe_engine/test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/run.py
diff --git a/recipe_engine/run.py b/recipe_engine/run.py
index bb8199aefdfe2046aaad6a050723a0075ac0f500..3f69eda163b94b0a85f5113cc36fe70551cce2ff 100644
--- a/recipe_engine/run.py
+++ b/recipe_engine/run.py
@@ -518,7 +518,7 @@ def add_subparser(parser):
'issue=12345. The property value will be decoded as JSON, but if '
'this decoding fails the value will be interpreted as a string.'))
- run_p.set_defaults(command='run', properties={}, func=main)
+ run_p.set_defaults(properties={}, func=main)
def handle_recipe_return(recipe_result, result_filename, stream_engine,
« no previous file with comments | « recipe_engine/remote.py ('k') | recipe_engine/test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698