summaryrefslogtreecommitdiff
path: root/pygmentize
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
committerGeorg Brandl <georg@python.org>2016-01-17 17:00:26 +0100
commitfc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad (patch)
tree2a06d2fac7321452513bda7739e297a7e9848ec4 /pygmentize
downloadpygments-git-fc55dc2e95bcea03fbc0d8e1d130c9e53f3f1dad.tar.gz
merge default into stable
Diffstat (limited to 'pygmentize')
-rwxr-xr-xpygmentize8
1 files changed, 8 insertions, 0 deletions
diff --git a/pygmentize b/pygmentize
new file mode 100755
index 00000000..aea38727
--- /dev/null
+++ b/pygmentize
@@ -0,0 +1,8 @@
+#!/usr/bin/env python2
+
+import sys
+import pygments.cmdline
+try:
+ sys.exit(pygments.cmdline.main(sys.argv))
+except KeyboardInterrupt:
+ sys.exit(1)