diff options
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/bash-completion/cpack | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Docs/bash-completion/cpack b/Docs/bash-completion/cpack index 84dcfd5..a0c1f83 100644 --- a/Docs/bash-completion/cpack +++ b/Docs/bash-completion/cpack @@ -8,7 +8,7 @@ _cpack() case "$prev" in -G) COMPREPLY=( $( compgen -W '$( cpack --help 2>/dev/null | - grep "^ .*=\ .*" 2> /dev/null | grep -v "^ -" 2>/dev/null | + grep "^ .*= .*" 2> /dev/null | grep -v "^ -" 2>/dev/null | cut -d" " -f 3 )' -- "$cur" ) ) return ;; |