Correct options for pkgtool

Took options from pkgtool script itself. They are wrong in man page
This commit is contained in:
Igor Murzov 2011-03-28 20:26:19 +04:00
parent e0e63f2518
commit 10bd7d3d41

View File

@ -9,8 +9,8 @@ _pkgtool()
COMPREPLY=() COMPREPLY=()
local cur="${COMP_WORDS[COMP_CWORD]}" local cur="${COMP_WORDS[COMP_CWORD]}"
if [[ "$cur" == -* ]]; then if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--sets --ignore_tagfiles --tagfile \ COMPREPLY=( $( compgen -W '--sets --ignore-tagfiles --tagfile \
--source_mounted --source_dir --target_dir --source_device' \ --source-mounted --source_dir --target_dir --source_device' \
-- "$cur" ) ) -- "$cur" ) )
return 0 return 0
fi fi