[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Here is a list of all the options for indent
, alphabetized by
short option. It is followed by a cross key alphabetized by long option.
Force blank lines after the declarations.
See section Blank lines.
Force blank lines after procedure bodies.
See section Blank lines.
Force blank lines before block comments.
See section Blank lines.
Prefer to break long lines before boolean operators.
See section Breaking long lines.
Force newline after comma in declaration.
See section Declarations.
Put braces on line after if
, etc.
See section Statements.
Put braces on line following function definition line.
See section Declarations.
Indent braces n spaces.
See section Statements.
Put braces on the line after struct
declaration lines.
See section Declarations.
Put braces on line with if
, etc.
See section Statements.
Put braces on function definition line.
See section Declarations.
Put braces on struct
declaration line.
See section Declarations.
Put a space between sizeof
and its argument.
See section Statements.
Put comments to the right of code in column n.
See section Comments.
Indent braces after a case label N spaces.
See section Statements.
Put comments to the right of the declarations in column n.
See section Comments.
Put comment delimiters on blank lines.
See section Comments.
Cuddle while of do {} while;
and preceding ‘}’.
See section Comments.
Cuddle else and preceding ‘}’.
See section Comments.
Continuation indent of n spaces.
See section Statements.
Case label indent of n spaces.
See section Statements.
Put comments to the right of #else
and
#endif
statements in column n.
See section Comments.
Put a space after a cast operator.
See section Statements.
Set indentation of comments not to the right
of code to n spaces.
See section Comments.
Break the line before all arguments in a declaration.
See section Declarations.
Break the line after the last argument in a declaration.
See section Declarations.
If -cd 0 is used then comments after declarations are left justified
behind the declaration.
See section Declarations.
Put variables in column n.
See section Declarations.
Format comments in the first column.
See section Comments.
Do not disable all formatting of comments.
See section Comments.
Use GNU coding style. This is the default.
See section Common styles.
Prefer to break long lines at the position of newlines in the input.
See section Breaking long lines.
Set indentation level to n spaces.
See section Indentation.
Set offset for labels to column n.
See section Indentation.
Indent parameter types in old-style function
definitions by n spaces.
See section Indentation.
Use Kernighan & Ritchie coding style.
See section Common styles.
Set maximum line length for non-comment lines to n.
See section Breaking long lines.
Set maximum line length for comment formatting to n.
See section Comments.
Use Linux coding style.
See section Common styles.
Line up continued lines at parentheses.
See section Indentation.
Leave space between ‘#’ and preprocessor directive.
See section Indentation.
Do not force blank lines after declarations.
See section Blank lines.
Do not force blank lines after procedure bodies.
See section Blank lines.
Do not prefer to break long lines before boolean operators.
See section Breaking long lines.
Do not force newlines after commas in declarations.
See section Declarations.
Don't put each argument in a function declaration on a separate line.
See section Declarations.
Do not put comment delimiters on blank lines.
See section Comments.
Do not cuddle }
and the while
of a do {} while;
.
See section Statements.
Do not cuddle }
and else
.
See section Statements.
Do not put a space after cast operators.
See section Statements.
Comments after declarations are treated the same as
comments after other statements.
See section Declarations.
Do not format comments in the first column as normal.
See section Comments.
Do not format any comments.
See section Comments.
Do not prefer to break long lines at the position of newlines in the input.
See section Breaking long lines.
Zero width indentation for parameters.
See section Indentation.
Do not line up parentheses.
See section Statements.
Do not put space after the function in function calls.
See section Statements.
Do not put a space after every '(' and before every ')'.
See section Statements.
Put the type of a procedure on the same line as its name.
See section Declarations.
Do not put a space after every for
.
See section Statements.
Do not put a space after every if
.
See section Statements.
Do not put a space after every while
.
See section Statements.
Do not put the ‘*’ character at the left of comments.
See section Comments.
Do not swallow optional blank lines.
See section Blank lines.
Do not force a space before the semicolon after certain statements.
Disables ‘-ss’.
See section Statements.
Use spaces instead of tabs.
See section Indentation.
Disable verbose mode.
See section Miscellaneous options.
Use the original Berkeley coding style.
See section Common styles.
Do not read ‘.indent.pro’ files.
See section Invoking indent
.
Insert a space between the name of the
procedure being called and the ‘(’.
See section Statements.
Specify the extra indentation per open parentheses '(' when a statement is broken. See section Statements.
Preserve access and modification times on output files. See section Miscellaneous options.
Specify the indentation for preprocessor conditional statements. See section Indentation.
Put a space after every '(' and before every ')'.
See section Statements.
Put the type of a procedure on the line before its name.
See section Declarations.
Put a space after each for
.
See section Statements.
Put a space after each if
.
See section Statements.
Put a space after each while
.
See section Statements.
Indent braces of a struct, union or enum N spaces.
See section Statements.
Put the ‘*’ character at the left of comments.
See section Comments.
Swallow optional blank lines.
See section Blank lines.
On one-line for
and while
statements,
force a blank before the semicolon.
See section Statements.
Write to standard output.
See section Invoking indent
.
Tell indent
the name of typenames.
See section Declarations.
Set tab size to n spaces.
See section Indentation.
Use tabs. This is the default.
See section Indentation.
Enable verbose mode.
See section Miscellaneous options.
Output the version number of indent
.
See section Miscellaneous options.
Here is a list of options alphabetized by long option, to help you find the corresponding short option.
--blank-lines-after-commas -bc --blank-lines-after-declarations -bad --blank-lines-after-procedures -bap --blank-lines-before-block-comments -bbb --braces-after-if-line -bl --braces-after-func-def-line -blf --brace-indent -bli --braces-after-struct-decl-line -bls --braces-on-if-line -br --braces-on-func-def-line -brf --braces-on-struct-decl-line -brs --break-after-boolean-operator -nbbo --break-before-boolean-operator -bbo --break-function-decl-args -bfda --break-function-decl-args-end -bfde --case-indentation -clin --case-brace-indentation -cbin --comment-delimiters-on-blank-lines -cdb --comment-indentation -cn --continuation-indentation -cin --continue-at-parentheses -lp --cuddle-do-while -cdw --cuddle-else -ce --declaration-comment-column -cdn --declaration-indentation -din --dont-break-function-decl-args -nbfda --dont-break-function-decl-args-end -nbfde --dont-break-procedure-type -npsl --dont-cuddle-do-while -ncdw --dont-cuddle-else -nce --dont-format-comments -nfca --dont-format-first-column-comments -nfc1 --dont-line-up-parentheses -nlp --dont-left-justify-declarations -ndj --dont-space-special-semicolon -nss --dont-star-comments -nsc --else-endif-column -cpn --format-all-comments -fca --format-first-column-comments -fc1 --gnu-style -gnu --honour-newlines -hnl --ignore-newlines -nhnl --ignore-profile -npro --indent-label -iln --indent-level -in --k-and-r-style -kr --leave-optional-blank-lines -nsob --leave-preprocessor-space -lps --left-justify-declarations -dj --line-comments-indentation -dn --line-length -ln --linux-style -linux --no-blank-lines-after-commas -nbc --no-blank-lines-after-declarations -nbad --no-blank-lines-after-procedures -nbap --no-blank-lines-before-block-comments -nbbb --no-comment-delimiters-on-blank-lines -ncdb --no-space-after-casts -ncs --no-parameter-indentation -nip --no-space-after-for -nsaf --no-space-after-function-call-names -npcs --no-space-after-if -nsai --no-space-after-parentheses -nprs --no-space-after-while -nsaw --no-tabs -nut --no-verbosity -nv --original -orig --parameter-indentation -ipn --paren-indentation -pin --preserve-mtime -pmt --preprocessor-indentation -ppin --procnames-start-lines -psl --space-after-cast -cs --space-after-for -saf --space-after-if -sai --space-after-parentheses -prs --space-after-procedure-calls -pcs --space-after-while -saw --space-special-semicolon -ss --standard-output -st --start-left-side-of-comments -sc --struct-brace-indentation -sbin --swallow-optional-blank-lines -sob --tab-size -tsn --use-tabs -ut --verbose -v |
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by david on December, 15 2008 using texi2html 1.78.