浏览代码

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

Fotos Georgiadis 4 年之前
父节点
当前提交
6b5c872836
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      plugins/terraform/_terraform

+ 2 - 1
plugins/terraform/_terraform

@@ -77,7 +77,8 @@ __fmt() {
         '-list=[(true) List files whose formatting differs (always false if using STDIN)]' \
         '-list=[(true) List files whose formatting differs (always false if using STDIN)]' \
         '-write=[(true) Write result to source file instead of STDOUT (always false if using STDIN or -check)]' \
         '-write=[(true) Write result to source file instead of STDOUT (always false if using STDIN or -check)]' \
         '-diff=[(false) Display diffs of formatting changes]' \
         '-diff=[(false) Display diffs of formatting changes]' \
-        '-check=[(false) Check if the input is formatted. Exit status will be 0 if all input is properly formatted and non-zero otherwise.]'
+        '-check=[(false) Check if the input is formatted. Exit status will be 0 if all input is properly formatted and non-zero otherwise.]' \
+        '-recursive=[(false) Also process files in subdirectories. By default, only the given directory (or current directory) is processed.]'
 }
 }
 
 
 __get() {
 __get() {