summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorVanessasaurus <814322+vsoch@users.noreply.github.com>2021-05-25 12:40:08 -0600
committerGitHub <noreply@github.com>2021-05-25 12:40:08 -0600
commit3cef5663d8c04228b1da4e890fe023b58b97548f (patch)
treeb94cc6c81b1ff1c1d41ab8e8452cda4f34828b4a /share
parentb44bb952eb29572fe8bcf9eab65d8baa24d3b994 (diff)
downloadspack-3cef5663d8c04228b1da4e890fe023b58b97548f.tar.gz
spack-3cef5663d8c04228b1da4e890fe023b58b97548f.tar.bz2
spack-3cef5663d8c04228b1da4e890fe023b58b97548f.tar.xz
spack-3cef5663d8c04228b1da4e890fe023b58b97548f.zip
adding json export for spack blame (#23417)
I would like to be able to export (and save and then load programatically) spack blame metadata, so this commit adds a spack blame --json argument, along with developer docs for it Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 5d9a01737f..7335faaa28 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -384,7 +384,7 @@ _spack_arch() {
_spack_blame() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -t --time -p --percent -g --git"
+ SPACK_COMPREPLY="-h --help -t --time -p --percent -g --git --json"
else
_all_packages
fi