summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/cmdline.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pygments/cmdline.py b/pygments/cmdline.py
index 43ea5c85..20a3ae04 100644
--- a/pygments/cmdline.py
+++ b/pygments/cmdline.py
@@ -235,10 +235,6 @@ def main(args=sys.argv):
F_opts.append(arg)
opts[opt] = arg
- if not opts and not args:
- print(usage)
- return 0
-
if opts.pop('-h', None) is not None:
print(usage)
return 0