Update README
This commit is contained in:
parent
f99f30671c
commit
444d884141
11
README.md
11
README.md
|
@ -18,6 +18,11 @@
|
||||||
## Using
|
## Using
|
||||||
By default, dfmt reads its input from ```stdin``` and writes to ```stdout```.
|
By default, dfmt reads its input from ```stdin``` and writes to ```stdout```.
|
||||||
If a file name is specified on the command line, input will be read from the
|
If a file name is specified on the command line, input will be read from the
|
||||||
file instead, and output will be written to ```stdout```. If the ```--inplace```
|
file instead, and output will be written to ```stdout```.
|
||||||
option is specified a file name is required and the file will be edited
|
#### Options
|
||||||
in-place.
|
* ```--inplace```: a file name is required and the file will be edited in-place.
|
||||||
|
* ```--braces=otbs```: Use ["The One True Brace Style"](https://en.wikipedia.org/wiki/Indent_style#Variant:_1TBS), placing open braces on
|
||||||
|
the same line as the previous token.
|
||||||
|
* ```--braces=allman```: Use ["Allman Style"](https://en.wikipedia.org/wiki/Indent_style#Allman_style),
|
||||||
|
placing opening braces on their own line. This is the default
|
||||||
|
* ```--tabs```: Use tabs for indentation instead of spaces
|
||||||
|
|
Loading…
Reference in New Issue