summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_ansible2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1be5a36e3..350b23f9a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2021-11-12 Oliver Kiddle <opk@zsh.org>
+ * unposted: Completion/Unix/Command/_ansible: fix case statement
+ fall-through for ansible-galaxy role completion
+
* 49566: Doc/Zsh/compsys.yo: document the _default function
* 49564: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo: always
diff --git a/Completion/Unix/Command/_ansible b/Completion/Unix/Command/_ansible
index 6ec7d0c2e..785ae45d0 100644
--- a/Completion/Unix/Command/_ansible
+++ b/Completion/Unix/Command/_ansible
@@ -278,7 +278,7 @@ case $state in
;|
role-(info|init|install|list|remove))
args+=( '*: :_guard "^-*" "role name"' )
- ;;
+ ;|
role-(info|search|list|remove|install))
args+=( '(-p --roles-path)'{-p,--roles-path}'[specify location of roles]:path:_directories' )
;|