Remove -nut because is not specified as being part of the source code
style. Add -nprsa, -saf, -sai and -saw because they are mentioned in
the Indent manual as being part of the source code style. The GNU
Coding Standards don't mention it in the list of options but I tested
Indent and verified it does this.
Signed-off-by: Jason Self <j@jxself.org>
corresponding to that style are:
-l79 Set maximum line length for non-comment lines to 79.
corresponding to that style are:
-l79 Set maximum line length for non-comment lines to 79.
- -nut Use spaces instead of tabs.
-bap Enter a blank lines after function bodies.
-bbo Break long lines before boolean operators.
-bl Put braces on line after if, etc.
-bap Enter a blank lines after function bodies.
-bbo Break long lines before boolean operators.
-bl Put braces on line after if, etc.
-ndj Comments after declarations are treated the same as comments after other statements.
-nfc1 Do not format comments in the first column as normal.
-nfca Do not format any comments.
-ndj Comments after declarations are treated the same as comments after other statements.
-nfc1 Do not format comments in the first column as normal.
-nfca Do not format any comments.
+ -nprs Do not put a space after every '(' and before every ')'.
-nsc Do not put the ‘*’ character at the left of comments.
-nsob Do not swallow optional blank lines.
-pcs Insert a space between the name of the procedure being called and the ‘(’.
-psl Put the type of a procedure on the line before its name.
-nsc Do not put the ‘*’ character at the left of comments.
-nsob Do not swallow optional blank lines.
-pcs Insert a space between the name of the procedure being called and the ‘(’.
-psl Put the type of a procedure on the line before its name.
+ -saf Put a space after each for.
+ -sai Put a space after each if.
+ -saw Put a space after each while.
How to style your code is not the only thing covered in the GNU Coding
Standards. Please consult the Standards for complete details.
How to style your code is not the only thing covered in the GNU Coding
Standards. Please consult the Standards for complete details.