Skip to content

Commit 444d884

Browse files
committed
Update README
1 parent f99f306 commit 444d884

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
## Using
1919
By default, dfmt reads its input from ```stdin``` and writes to ```stdout```.
2020
If a file name is specified on the command line, input will be read from the
21-
file instead, and output will be written to ```stdout```. If the ```--inplace```
22-
option is specified a file name is required and the file will be edited
23-
in-place.
21+
file instead, and output will be written to ```stdout```.
22+
#### Options
23+
* ```--inplace```: a file name is required and the file will be edited in-place.
24+
* ```--braces=otbs```: Use ["The One True Brace Style"](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS), placing open braces on
25+
the same line as the previous token.
26+
* ```--braces=allman```: Use ["Allman Style"](https://en.wikipedia.org/wiki/Indent_style#Allman_style),
27+
placing opening braces on their own line. This is the default
28+
* ```--tabs```: Use tabs for indentation instead of spaces

0 commit comments

Comments
 (0)