diff options
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r-- | pygments/__init__.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py index 7ef71945..55eced1f 100644 --- a/pygments/__init__.py +++ b/pygments/__init__.py @@ -23,7 +23,7 @@ :license: BSD, see LICENSE for more details. """ -__version__ = '0.7' +__version__ = '0.8' __author__ = 'Georg Brandl <g.brandl@gmx.net>' __url__ = 'http://pygments.org/' __license__ = 'BSD License' @@ -88,15 +88,6 @@ def highlight(code, lexer, formatter, outfile=None): return format(lex(code, lexer), formatter, outfile) -def cmdline_main(args): - """ - Make pygments usable as a command line utility. - TODO: To be removed in Pygments 0.8. - """ - from pygments.cmdline import main - return main(args) - - if __name__ == '__main__': from pygments.cmdline import main sys.exit(main(sys.argv)) |