diff options
| author | Georg Brandl <georg@python.org> | 2007-07-18 08:20:24 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-07-18 08:20:24 +0200 |
| commit | ef5652d42cd1a72e3be0581fe3b30548dede63f6 (patch) | |
| tree | a0cb1abcb6c7f48e6617e58381ec298d5e78770c /pygments/cmdline.py | |
| parent | ae0ce6583c2f05885ee44826bf5fc1df2a046c32 (diff) | |
| download | pygments-git-ef5652d42cd1a72e3be0581fe3b30548dede63f6.tar.gz | |
[svn] Add setuptools entrypoint to create a proper script
on Windows (thanks, Y0gi).
Diffstat (limited to 'pygments/cmdline.py')
| -rw-r--r-- | pygments/cmdline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/cmdline.py b/pygments/cmdline.py index 2aba87ca..2dd23f27 100644 --- a/pygments/cmdline.py +++ b/pygments/cmdline.py @@ -172,7 +172,7 @@ def _print_list(what): print " %s" % docstring_headline(cls) -def main(args): +def main(args=sys.argv): """ Main command line entry point. """ |
