From 3b1c1dd78c66f04e8d3862f5d291d26820b98c61 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 27 Feb 2013 20:54:56 +0100 Subject: [PATCH] Fix completion function. [ci skip] --- doc/dosage-completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }