summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2019-07-12 11:22:09 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-07-12 11:22:09 -0700
commitd615d0a1ec26aca94f7bbb6fd6881527b27d9b47 (patch)
treee1fcc2d9dd2f36f8337617e9b65a9a6909bc6194 /share
parent505ad8960e6d9760ef6b7fd28ce231ae57a207b5 (diff)
downloadspack-d615d0a1ec26aca94f7bbb6fd6881527b27d9b47.tar.gz
spack-d615d0a1ec26aca94f7bbb6fd6881527b27d9b47.tar.bz2
spack-d615d0a1ec26aca94f7bbb6fd6881527b27d9b47.tar.xz
spack-d615d0a1ec26aca94f7bbb6fd6881527b27d9b47.zip
Add template creation test, --skip-editor option (#11970)
* Add template creation test * Added --skip-editor option to "spack create": normally "spack create" opens an editor for the user after generating a package file; when the --skip-editor option is used, "spack create" only generates the package file and does not open an editor * Added --skip-editor option to bash completion
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 a1795647a6..890f6de026 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -352,7 +352,7 @@ function _spack_create {
if $list_options
then
compgen -W "-h --help --keep-stage -n --name -t --template -r --repo
- -N --namespace -f --force" -- "$cur"
+ -N --namespace -f --force --skip-editor" -- "$cur"
fi
}