summaryrefslogtreecommitdiff
path: root/pygments/cmdline.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 17:14:07 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 17:14:07 +0100
commit2140f455b5b59d7e29d520c27b6eb9d2db30d006 (patch)
treebc48c372a71d661f361c6945e82738edcc113a76 /pygments/cmdline.py
parent846195f0fb24e724a611d601494fa5056936b5bc (diff)
parent8f1d30b59f7720cf99ed508ac720eb7126161e2b (diff)
downloadpygments-2140f455b5b59d7e29d520c27b6eb9d2db30d006.tar.gz
Merged in rwtolbert/pygments-main (pull request #238)
Added lexer for new Hy language, a variant of Lisp running under Python
Diffstat (limited to 'pygments/cmdline.py')
-rw-r--r--pygments/cmdline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/cmdline.py b/pygments/cmdline.py
index c25204bf..f260f76a 100644
--- a/pygments/cmdline.py
+++ b/pygments/cmdline.py
@@ -92,7 +92,7 @@ def _parse_options(o_strs):
for o_arg in o_args:
o_arg = o_arg.strip()
try:
- o_key, o_val = o_arg.split('=')
+ o_key, o_val = o_arg.split('=', 1)
o_key = o_key.strip()
o_val = o_val.strip()
except ValueError: