Richard Jones  committed fdc18cb

handle the "help" special identifier better

  • Participants
  • Parent commits 27e40fb

Comments (0)

Files changed (1)

 import os
 import sys
 import subprocess
+import webbrowser
 def execute(arg):
     if not args:
         print ('Idea from Georg Brandl. Foolishly implemented by Michael '
             'Foord and Richard Jones')
-        sys.exit()
+        return
+    if args[0] == 'help':
+        return
     fn = locate(args[0])
     if fn is None: