diff options
Diffstat (limited to 'completions/function')
-rw-r--r-- | completions/function | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/function b/completions/function index e12fffff..e8e4d751 100644 --- a/completions/function +++ b/completions/function @@ -9,7 +9,7 @@ _function() if [[ $prev == -f ]]; then COMPREPLY=( $( compgen -A function -- "$cur" ) ) elif [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '-a -f -F -i -r -x -p' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) ) fi elif [[ $cword -eq 1 ]]; then COMPREPLY=( $( compgen -A function -- "$cur" ) ) |