Skip to content

Commit 52787b3

Browse files
committed
Fix #163: Command line version not working
1 parent fb73ede commit 52787b3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

command_line.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
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

0 commit comments

Comments
 (0)