diff options
author | Brian Gesiak <modocache@gmail.com> | 2017-06-10 21:33:27 +0000 |
---|---|---|
committer | Brian Gesiak <modocache@gmail.com> | 2017-06-10 21:33:27 +0000 |
commit | 701386d5316db90aadac8bf97897af9bcc71d54a (patch) | |
tree | 419b59513b1cf6a5ac0867db6c1a4aae178bb875 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8622f51e94bb87ee57f1b2639b4b3a47ab52d5ba (diff) | |
download | bcm5719-llvm-701386d5316db90aadac8bf97897af9bcc71d54a.tar.gz bcm5719-llvm-701386d5316db90aadac8bf97897af9bcc71d54a.zip |
[opt-viewer] Include default values in help output
Summary:
Python's argparse module includes a `%(default)s` format specifier that
can be used to print the default value of an option in its help text.
Use this for opt-viewer utilities' `--jobs` arguments.
Reviewers: anemet
Reviewed By: anemet
Subscribers: llvm-commits, fhahn
Differential Revision: https://reviews.llvm.org/D34081
llvm-svn: 305155
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions