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

Unified Diff: pydir/szbuild.py

Issue 565553002: Subzero: Print defaults as appropriate in python script help text. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 3 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 | « pydir/crosstest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/szbuild.py
diff --git a/pydir/szbuild.py b/pydir/szbuild.py
index 8adc683057acf96df9b23b3d8191c1f53a9d3ef5..dd94bda7db7c159b3377a707ed17d8b3177d7db6 100755
--- a/pydir/szbuild.py
+++ b/pydir/szbuild.py
@@ -108,11 +108,12 @@ def main():
'(regex or line range)')
argparser.add_argument('--output', '-o', default='a.out', dest='output',
action='store',
- help='Output executable (default a.out)')
+ help='Output executable. Default %(default)s.')
argparser.add_argument('-O', default='2', dest='optlevel',
choices=['m1', '-1', '0', '1', '2'],
help='Optimization level ' +
- '(m1 and -1 are equivalent)')
+ '(m1 and -1 are equivalent).' +
+ ' Default %(default)s.')
argparser.add_argument('--verbose', '-v', dest='verbose',
action='store_true',
help='Display some extra debugging output')
« no previous file with comments | « pydir/crosstest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698