File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1818## Using
1919By default, dfmt reads its input from ``` stdin ``` and writes to ``` stdout ``` .
2020If 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
You can’t perform that action at this time.
0 commit comments