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

Unified Diff: recipe_engine/doc.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/depgraph.py ('k') | recipe_engine/fetch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/doc.py
diff --git a/recipe_engine/doc.py b/recipe_engine/doc.py
index ba4d606e1ad2ec1788fd2dfd866af62c2613fe3c..08b367790acda5f7852b9132ebf6ed56262bfa6d 100755
--- a/recipe_engine/doc.py
+++ b/recipe_engine/doc.py
@@ -471,7 +471,7 @@ def add_subparser(parser):
doc_p.add_argument('--kind', default='jsonpb', choices=doc_kinds,
help='Output this kind of documentation')
- doc_p.set_defaults(command='doc', func=main)
+ doc_p.set_defaults(func=main)
def main(package_deps, args):
« no previous file with comments | « recipe_engine/depgraph.py ('k') | recipe_engine/fetch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698