From 6cef69add1f2a3f345d9c4a29b2739d0ff2fd272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Lhez?= Date: Wed, 26 Aug 2015 23:10:27 +0200 Subject: [PATCH] fix: added '--activate-profiles' to the profile handler --- bash_completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_completion.bash b/bash_completion.bash index 7a0e6b5..5d79d76 100755 --- a/bash_completion.bash +++ b/bash_completion.bash @@ -198,7 +198,7 @@ _mvn() if [[ ${cur} == -D* ]] ; then COMPREPLY=( $(compgen -S ' ' -W "${options}" -- ${cur}) ) - elif [[ ${prev} == -P ]] ; then + elif [[ ${prev} == -P || ${prev} == --activate-profiles ]] ; then local profiles="${profile_settings}|" for item in ${POM_HIERARCHY[*]} do