From d615d0a1ec26aca94f7bbb6fd6881527b27d9b47 Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Fri, 12 Jul 2019 11:22:09 -0700 Subject: 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 --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 } -- cgit v1.2.3-70-g09d2