6b5c8728360b1592e4321b8a4b00d8c8b49e64fe

Author
Fotos Georgiadis <gfotos@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

terraform: add fmt -recursive flag autocompletion (#8880)

Diff

 1diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform
 2index 5b36558016d6444a0987e7b287eeb1c2b680a1fb..e4298f2abaf4ede582c4cfa41464516d920fb4de 100644
 3--- a/plugins/terraform/_terraform
 4+++ b/plugins/terraform/_terraform
 5@@ -77,7 +77,8 @@ __fmt() {
 6         '-list=[(true) List files whose formatting differs (always false if using STDIN)]' \
 7         '-write=[(true) Write result to source file instead of STDOUT (always false if using STDIN or -check)]' \
 8         '-diff=[(false) Display diffs of formatting changes]' \
 9-        '-check=[(false) Check if the input is formatted. Exit status will be 0 if all input is properly formatted and non-zero otherwise.]'
10+        '-check=[(false) Check if the input is formatted. Exit status will be 0 if all input is properly formatted and non-zero otherwise.]' \
11+        '-recursive=[(false) Also process files in subdirectories. By default, only the given directory (or current directory) is processed.]'
12 }
13 
14 __get() {