diff options
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1238,7 +1238,7 @@ def help(): print 'along the Python search path' def main(): - if not sys.argv[1:]: + if not sys.argv[1:] or sys.argv[1] in ("--help", "-h"): print "usage: pdb.py scriptfile [arg] ..." sys.exit(2) |