diff --git a/doc/dosage-completion b/doc/dosage-completion index 16fd2f9b7..9254ab828 100644 --- a/doc/dosage-completion +++ b/doc/dosage-completion @@ -10,8 +10,8 @@ _dosage() { cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} - if type _optcomplete &> /dev/null; then - _optcomplete "$@" + if type _argcomplete &> /dev/null; then + _argcomplete "$@" fi return 0 }