diff --git a/README.md b/README.md index b5fae36..9d357d9 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ max_line_length | positive integers (**`120`**) | [See EditorConfig documentatio ### dfmt-specific properties Property Name | Allowed Values | Description --------------|----------------|------------ -dfmt_brace_style | **`allman`**, `otbs`, or `stroustrup` | [See Wikipedia](https://en.wikipedia.org/wiki/Brace_style) +dfmt_brace_style | **`allman`**, `otbs`, `stroustrup` or `knr` | [See Wikipedia](https://en.wikipedia.org/wiki/Brace_style) dfmt_soft_max_line_length | positive integers (**`80`**) | The formatting process will usually keep lines below this length, but they may be up to *max_line_length* columns long. dfmt_align_switch_statements | **`true`**, `false` | Align labels, cases, and defaults with their enclosing switch. dfmt_outdent_attributes (Not yet implemented) | **`true`**, `false`| Decrease the indentation level of attributes. diff --git a/bash-completion/completions/dfmt b/bash-completion/completions/dfmt index 02ab5f8..4cb94d1 100644 --- a/bash-completion/completions/dfmt +++ b/bash-completion/completions/dfmt @@ -24,7 +24,7 @@ _dfmt() eolOpts="lf cr crlf" boolOpts="true false" - braceOpts="allman otbs stroustrup" + braceOpts="allman otbs stroustrup knr" indentOpts="tab space" constraintOpts="conditional_newline_indent conditional_newline always_newline always_newline_indent"