Skip to content
Snippets Groups Projects
Commit 9bb2faf6 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'bash-completion-fix-E-lookup'

fe7f117a bash-completion: Fix cmake -E lookup
parents 314a9539 fe7f117a
Branches
Tags
No related merge requests found
......@@ -102,7 +102,7 @@ _cmake()
;;
-E)
COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \
'/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \
'/^ [^ ]/{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \
-- "$cur" ) )
return
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment