-
|
Hello there! "For some reason", in order to have alias pudb='PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}'"$(realpath "${INSTALLS_DIR}/pudb")"'" python3 -m pudb.run 'Being blinded by this, and hitting a bug, I instinctively did: $ pudb --version
usage: run.py [options] [-m] SCRIPT-OR-MODULE-TO-RUN [SCRIPT_ARGS]
run.py: error: unrecognized arguments: --version
$ pudb -v
usage: run.py [options] [-m] SCRIPT-OR-MODULE-TO-RUN [SCRIPT_ARGS]
run.py: error: unrecognized arguments: -vI was wondering - "what would be" the "correct" solution to my conundrum? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I'd be open to adding a python -c 'import pudb; print(pudb.VERSION)' |
Beta Was this translation helpful? Give feedback.
I'd be open to adding a
--versionflag. That would only affect future versions, but that would probably be the cleanest. In the meantime, this might do the trick for you:python -c 'import pudb; print(pudb.VERSION)'