Skip to content

Commit d4fca85

Browse files
xi xiaoxixiaofinland
authored andcommitted
chore: update readme
1 parent c8ed225 commit d4fca85

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,11 @@ Afmt completed successfully.
128128

129129
## 🔧 Configuration:
130130

131-
in `.afmt.toml` config file, two options are supported
131+
`-c` parameter can read configuration settings from a toml file.
132+
133+
Example: `afmt -c .afmt.toml`
134+
135+
In `.afmt.toml` config file, two options are supported
132136

133137
```toml
134138
# Maximum line width
@@ -142,15 +146,13 @@ indent_size = 4
142146

143147
## ❓ FAQ
144148

149+
- "TLTR, what features afmt has?" Run `afmt -h`.
145150
- "How do I set up afmt in VSCode?"
146151
[Setup in VSCode](./md/VSCode_Setup.md)
147152

148153
- "Can afmt formats exactly the same as Prettier Apex?"
149154
No.
150155

151-
- "How to load a .afmt.toml file?"
152-
`afmt -c path_to_file`. You can refer to `afmt -h` for more help info.
153-
154156
<br>
155157

156158
## 🤝 Contribution

0 commit comments

Comments
 (0)