diff options
Diffstat (limited to 'lib/spack/spack/cmd/python.py')
-rw-r--r-- | lib/spack/spack/cmd/python.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/spack/spack/cmd/python.py b/lib/spack/spack/cmd/python.py index 028184b817..5df8b30dde 100644 --- a/lib/spack/spack/cmd/python.py +++ b/lib/spack/spack/cmd/python.py @@ -31,6 +31,12 @@ def setup_parser(subparser): ) subparser.add_argument("-c", dest="python_command", help="command to execute") subparser.add_argument( + "-u", + dest="unbuffered", + action="store_true", + help="for compatibility with xdist, do not use without adding -u to the interpreter", + ) + subparser.add_argument( "-i", dest="python_interpreter", help="python interpreter", |