File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99
1010 $ python3.4 command_line.py --help
1111
12- for more information on all of the available options and usage instructions. An full
12+ for more information on all of the available options and usage instructions. A full
1313 example might be:
1414
15- $ python3.4 command_line.py
15+ $ python3.4 command_line.py --main index.html --export-to=mac-x64 ~/Projects/MyProject/
1616
1717"""
1818
@@ -1469,7 +1469,8 @@ def generate_setting_args(command_base, parser):
14691469 parser .add_argument (
14701470 '--{}' .format (option_name ),
14711471 dest = setting_name ,
1472- help = setting .description ,
1472+ # Ignore any percent signs in the description.
1473+ help = setting .description .replace ('%' , '%%' ),
14731474 ** kwargs
14741475 )
14751476
You can’t perform that action at this time.
0 commit comments