pdb3.6 -V (return code: 1)
Traceback (most recent call last):
File "/usr/bin/pdb3.6", line 1694, in <module>
pdb.main()
File "/usr/lib/python3.6/pdb.py", line 1635, in main
opts, args = getopt.getopt(sys.argv[1:], 'hc:', ['--help', '--command='])
File "/usr/lib/python3.6/getopt.py", line 93, in getopt
opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
File "/usr/lib/python3.6/getopt.py", line 157, in do_longs
has_arg, opt = long_has_args(opt, longopts)
File "/usr/lib/python3.6/getopt.py", line 174, in long_has_args
raise GetoptError(_('option --%s not recognized') % opt, opt)
getopt.GetoptError: option --version not recognized
pdb3.6 -h (return code: 2)
usage: pdb.py [-c command] ... pyfile [arg] ...
Debug the Python program given by pyfile.
Initial commands are read from .pdbrc files in your home directory
and in the current directory, if they exist. Commands supplied with
-c are executed after commands from .pdbrc files.
To let the script run until an exception occurs, use "-c continue".
To let the script run up to a given line X in the debugged file, use
"-c 'until X'".