summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorvvolkl <valentin.volkl@cern.ch>2020-12-07 16:29:10 +0100
committerGitHub <noreply@github.com>2020-12-07 09:29:10 -0600
commited258ca9e9d4f88ed36cd87b21ae24091f516fc7 (patch)
tree51b02d40c55a99f0d452e9e1c69037f8c3b3ca20 /share
parentb4ed4fb226f3a43ba2b021ffea2308d864f19866 (diff)
downloadspack-ed258ca9e9d4f88ed36cd87b21ae24091f516fc7.tar.gz
spack-ed258ca9e9d4f88ed36cd87b21ae24091f516fc7.tar.bz2
spack-ed258ca9e9d4f88ed36cd87b21ae24091f516fc7.tar.xz
spack-ed258ca9e9d4f88ed36cd87b21ae24091f516fc7.zip
Add "spack versions --new" flag to only show new versions (#20030)
* [cmd versions] add spack versions --new flag to only fetch new versions format [cmd versions] rename --latest to --newest and add --remote-only [cmd versions] add tests for --remote-only and --new format [cmd versions] update shell tab completion [cmd versions] remove test for --remote-only --new which gives empty output [cmd versions] final rename format * add brillig mock package * add test for spack versions --new * [brillig] format * [versions] increase test coverage * Update lib/spack/spack/cmd/versions.py Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * Update lib/spack/spack/cmd/versions.py Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> Co-authored-by: Massimiliano Culpo <massimiliano.culpo@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 7697cacdc3..1761fcb60d 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1649,7 +1649,7 @@ _spack_verify() {
_spack_versions() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -s --safe-only -c --concurrency"
+ SPACK_COMPREPLY="-h --help -s --safe --safe-only -r --remote -n --new -c --concurrency"
else
_all_packages
fi