diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-04-03 01:12:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 23:12:03 -0700 |
commit | 75a2f8046a5782dc227f2679d6860558db4b1bfb (patch) | |
tree | 81b527da07fb920d480c0fe3dd11d07596fe97fa /share | |
parent | 1662c3581bb8e07a4a59841b31354877b24ed7c9 (diff) | |
download | spack-75a2f8046a5782dc227f2679d6860558db4b1bfb.tar.gz spack-75a2f8046a5782dc227f2679d6860558db4b1bfb.tar.bz2 spack-75a2f8046a5782dc227f2679d6860558db4b1bfb.tar.xz spack-75a2f8046a5782dc227f2679d6860558db4b1bfb.zip |
Add commands to facilitate Spack/Python/OS reporting (#15834)
* Add --version arg to spack python command
* Add `spack debug report` command
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 38788438f7..6df546e89f 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -655,7 +655,7 @@ _spack_debug() { then SPACK_COMPREPLY="-h --help" else - SPACK_COMPREPLY="create-db-tarball" + SPACK_COMPREPLY="create-db-tarball report" fi } @@ -663,6 +663,10 @@ _spack_debug_create_db_tarball() { SPACK_COMPREPLY="-h --help" } +_spack_debug_report() { + SPACK_COMPREPLY="-h --help" +} + _spack_dependencies() { if $list_options then @@ -1272,7 +1276,7 @@ _spack_pydoc() { _spack_python() { if $list_options then - SPACK_COMPREPLY="-h --help -c -m" + SPACK_COMPREPLY="-h --help -V --version -c -m" else SPACK_COMPREPLY="" fi |