summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorsparkyniner <110723606+sparkyniner@users.noreply.github.com>2022-08-21 03:39:44 +0530
committerGitHub <noreply@github.com>2022-08-20 16:09:44 -0600
commit21e6679056644a94764f44d102e6bd1e975302ed (patch)
tree2e9df8d95b6a61d52d3a33a6e8c624cf8c7182cb /share
parent8d02e2cc52d001dd454dbe9898aec576fc95f02a (diff)
downloadspack-21e6679056644a94764f44d102e6bd1e975302ed.tar.gz
spack-21e6679056644a94764f44d102e6bd1e975302ed.tar.bz2
spack-21e6679056644a94764f44d102e6bd1e975302ed.tar.xz
spack-21e6679056644a94764f44d102e6bd1e975302ed.zip
spack list: add --tag flag (#32016)
* modified list.py and added functionality for --tag * Removed long and very long, shifted rest of code above return statement * removed results variable * added import statement at top * added the line accidentally deleted * added line accidentally deleted * changed p.name to p, added line inside if statement * line order switched * [@spackbot] updating style on behalf of sparkyniner * ran update completion command * add tests * Update lib/spack/spack/test/cmd/list.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * [@spackbot] updating style on behalf of sparkyniner * changed argument to mock_packages and moved code under filter by tag * removed bad rebase code and added additional test * [@spackbot] updating style on behalf of sparkyniner * added line removed earlier * added line removed earlier * replaced function * added more recommended changes Co-authored-by: sairaj <sairaj@sairajs-MacBook-Pro.local> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.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 bd41619a09..936593d98a 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1209,7 +1209,7 @@ _spack_license_update_copyright_year() {
_spack_list() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -d --search-description --format --update -v --virtuals"
+ SPACK_COMPREPLY="-h --help -d --search-description --format --update -v --virtuals -t --tag"
else
_all_packages
fi