diff --git a/dotenv-linter/README.md b/dotenv-linter/README.md index e2575a6..f34725a 100644 --- a/dotenv-linter/README.md +++ b/dotenv-linter/README.md @@ -57,15 +57,23 @@ For the complete usage, see the official ### How to automatically fix errors -Use the `--fix` flag. +Use the `fix` subcommand. ```sh -dotenv-linter --fix +dotenv-linter fix ``` Backup files in the format of `.env_0000000000` will be created by default. You can use `--no-backup` to skip this. +### How to compare two files + +Use the `compare` subcommand + +```sh +dotenv-linter compare .env1 .env2 +``` + ### How to toggle linter rules You can turn off certain linter checks with `--skip` options, for example: