From 77c85589752b5d9006080dd5e47a7fec70c9bf21 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Sat, 25 Nov 2023 17:13:48 +0900 Subject: [PATCH] Remove mention of directory arguments --- docs/user-guide/working-directory.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/user-guide/working-directory.md b/docs/user-guide/working-directory.md index 399a95bcb..97b4af2de 100644 --- a/docs/user-guide/working-directory.md +++ b/docs/user-guide/working-directory.md @@ -16,16 +16,12 @@ Its behavior is the same as [Terraform's behavior](https://developer.hashicorp.c - If you want to refer to the file in the original working directory, it is recommended to pass the absolute path using realpath(1) etc. e.g. `tflint --config=$(realpath .tflint.hcl)`. - The `path.cwd` represents the original working directory. This is the same behavior as using `--chdir` in Terraform. -TFLint also accepts a directory as an argument, but `--chdir` is recommended in most cases. The directory argument is deprecated and may be removed in a future version. - The `--recursive` flag enables recursive inspection. This is the same as running with `--chdir` for each directory. ```console $ tflint --recursive ``` -It takes no arguments in recursive mode. Passing a directory or file name will result in an error. - These flags are also valid for `--init` and `--version`. Recursive init is required when installing required plugins all at once: ```console