da16258c5c261606d56836c0fce77188515a6c0e

Author
Maxime Brunet <max@brnt.mx>
Committer
GitHub <noreply@github.com>
Date

Message

fix(terraform): fix completion repeating flags with value (#12256)

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform
 2index f72f3e552a0e7162d62034598f35297f600616f2..15749581432e0f23179d628e48942dd8d980feda 100644
 3--- a/plugins/terraform/_terraform
 4+++ b/plugins/terraform/_terraform
 5@@ -54,25 +54,25 @@ compdef _terraform terraform
 6     '-compact-warnings[If Terraform produces any warnings that are not accompanied by errors, show them in a more compact form that includes only the summary messages.]' \
 7     '-destroy[Destroy Terraform-managed infrastructure. The command "terraform destroy" is a convenience alias for this option.]' \
 8     '-lock=[(true) Don'\''t hold a state lock during the operation. This is dangerous if others might concurrently run commands against the same workspace.]:lock:(true false)' \
 9-    '-lock-timeout=[(0s) Duration to retry a state lock.]' \
10+    '-lock-timeout=[(0s) Duration to retry a state lock.]:lock_timeout:' \
11     '-input=[(true) Ask for input for variables if not directly set.]:input:(true false)' \
12     '-no-color[If specified, output won'\''t contain any color.]' \
13-    '-parallelism=[(10) Limit the number of parallel resource operations.]' \
14+    '-parallelism=[(10) Limit the number of parallel resource operations.]:parallelism:' \