mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Allow the '=' character in the -D option of sphinx-build.py
This commit is contained in:
@@ -204,7 +204,7 @@ def main(argv):
|
||||
confoverrides = {}
|
||||
for val in opts.define:
|
||||
try:
|
||||
key, val = val.split('=')
|
||||
key, val = val.split('=', 1)
|
||||
except ValueError:
|
||||
print('Error: -D option argument must be in the form name=value.',
|
||||
file=sys.stderr)
|
||||
|
||||
Reference in New Issue
Block a user