|
|||||
| | |||||
for loop formatting
| -br,-bl | Specifying -bl lines up compound statements like |
| this: | |
| if (...) | |
| { | |
| code | |
| } |
Specifying -br (the default) makes them look like
this:
if (...) {
code
}
options are:
-din Specify the indentation, in character positions, from a
declaration keyword to the following identifier.
Default: -di16.
-din3 sets the indentation to 3 spaces
comments by default are put on a separate line. Am looking for a way to right-indent all comments.
| -cn | The column in which comments on code start. |
| Default: -c33. |
-cdn The column in which comments on declarations start. The
default is for these comments to start in the same
column as those on code.
indent -di5 -c33 show_programs.c
does not indent at all.
-bad,-nbad
If -bad is specified, a blank line is forced after
every block of declarations. Default: -nbad.
| Leave a Reply |