diff --git a/README.md b/README.md index 5af9d615..b135843a 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,9 @@ Alternatively, you can specify it on the command line, with `stylua --syntax lua StyLua only offers the following options: +> [!NOTE] +> When specifying the option on the command line, replace the underscore with a dash, e.g., `indent_type` becomes `--indent-type`. + | Option | Default | Description | | ---------------------------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `syntax` | `All` | Specify a disambiguation for the style of Lua syntax being formatted. Possible options: `All` (default), `Lua51`, `Lua52`, `Lua53`, `Lua54`, `LuaJIT`, `Luau`, `CfxLua` |