GNU Info

Info Node: (indent.info)Option Summary

(indent.info)Option Summary


Next: Index Prev: Indent Program Up: Top
Enter node , (file) or (file)node

Option Summary
**************

   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.

`-bad'
`--blank-lines-after-declarations'
     Force blank lines after the declarations.
     Note: Blank lines.

`-bap'
`--blank-lines-after-procedures'
     Force blank lines after procedure bodies.
     Note: Blank lines.

`-bbb'
`--blank-lines-before-block-comments'
     Force blank lines before block comments.
     Note: Blank lines.

`-bbo'
`--break-before-boolean-operator'
     Prefer to break long lines before boolean operators.
     Note: Breaking long lines.

`-bc'
`--blank-lines-after-commas'
     Force newline after comma in declaration.
     Note: Declarations.

`-bl'
`--braces-after-if-line'
     Put braces on line after `if', etc.
     Note: Statements.

`-bliN'
`--brace-indentN'
     Indent braces N spaces.
     Note: Statements.

`-bls'
`--braces-after-struct-decl-line'
     Put braces on the line after `struct' declaration lines.
     Note: Declarations.

`-br'
`--braces-on-if-line'
     Put braces on line with `if', etc.
     Note: Statements.

`-brs'
`--braces-on-struct-decl-line'
     Put braces on `struct' declaration line.
     Note: Declarations.

`-bs'
`--Bill-Shannon'
`--blank-before-sizeof'
     Put a space between `sizeof' and its argument.
     Note: Statements.

`-cN'
`--comment-indentationN'
     Put comments to the right of code in column N.
     Note: Comments.

`-cbiN'
`--case-brace-indentationN'
     Indent braces after a case label N spaces.
     Note: Statements.

`-cdN'
`--declaration-comment-columnN'
     Put comments to the right of the declarations in column N.
     Note: Comments.

`-cdb'
`--comment-delimiters-on-blank-lines'
     Put comment delimiters on blank lines.
     Note: Comments.

`-cdw'
`--cuddle-do-while'
     Cuddle while of `do {} while;' and preceeding `}'.
     Note: Comments.

`-ce'
`--cuddle-else'
     Cuddle else and preceeding `}'.
     Note: Comments.

`-ciN'
`--continuation-indentationN'
     Continuation indent of N spaces.
     Note: Statements.

`-cliN'
`--case-indentationN'
     Case label indent of N spaces.
     Note: Statements.

`-cpN'
`--else-endif-columnN'
     Put comments to the right of `#else' and `#endif' statements in
     column N.
     Note: Comments.

`-cs'
`--space-after-cast'
     Put a space after a cast operator.
     Note: Statements.

`-dN'
`--line-comments-indentationN'
     Set indentation of comments not to the right of code to N spaces.
     Note: Comments.

`-bfda'
`--break-function-decl-args'
     Align all arguments in a declaration with opening paren.
     Note: Declarations.

`-diN'
`--declaration-indentationN'
     Put variables in column N.
     Note: Declarations.

`-fc1'
`--format-first-column-comments'
     Format comments in the first column.
     Note: Comments.

`-fca'
`--format-all-comments'
     Do not disable all formatting of comments.
     Note: Comments.

`-gnu'
`--gnu-style'
     Use GNU coding style.  This is the default.
     Note: Common styles.

`-hnl'
`--honour-newlines'
     Prefer to break long lines at the position of newlines in the
     input.
     Note: Breaking long lines.

`-iN'
`--indent-levelN'
     Set indentation level to N spaces.
     Note: Indentation.

`-ipN'
`--parameter-indentationN'
     Indent parameter types in old-style function definitions by N
     spaces.
     Note: Indentation.

`-kr'
`--k-and-r-style'
     Use Kernighan & Ritchie coding style.
     Note: Common styles.

`-lN'
`--line-lengthN'
     Set maximum line length for non-comment lines to N.
     Note: Breaking long lines.

`-lcN'
`--comment-line-lengthN'
     Set maximum line length for comment formatting to N.
     Note: Comments.

`-lp'
`--continue-at-parentheses'
     Line up continued lines at parentheses.
     Note: Indentation.

`-lps'
`--leave-preprocessor-space'
     Leave space between `#' and preprocessor directive.
     Note: Indentation.

`-nbad'
`--no-blank-lines-after-declarations'
     Do not force blank lines after declarations.
     Note: Blank lines.

`-nbap'
`--no-blank-lines-after-procedures'
     Do not force blank lines after procedure bodies.
     Note: Blank lines.

`-nbbo'
`--break-after-boolean-operator'
     Do not prefer to break long lines before boolean operators.
     Note: Breaking long lines.

`-nbc'
`--no-blank-lines-after-commas'
     Do not force newlines after commas in declarations.
     Note: Declarations.

`-nbfda'
`--dont-break-function-decl-args'
     Don't put each argument in a function declaration on a seperate
     line.
     Note: Declarations.

`-ncdb'
`--no-comment-delimiters-on-blank-lines'
     Do not put comment delimiters on blank lines.
     Note: Comments.

`-ncdw'
`--dont-cuddle-do-while'
     Do not cuddle `}' and the `while' of a `do {} while;'.
     Note: Statements.

`-nce'
`--dont-cuddle-else'
     Do not cuddle `}' and `else'.
     Note: Statements.

`-ncs'
`--no-space-after-casts'
     Do not put a space after cast operators.
     Note: Statements.

`-nfc1'
`--dont-format-first-column-comments'
     Do not format comments in the first column as normal.
     Note: Comments.

`-nfca'
`--dont-format-comments'
     Do not format any comments.
     Note: Comments.

`-nhnl'
`--ignore-newlines'
     Do not prefer to break long lines at the position of newlines in
     the input.
     Note: Breaking long lines.

`-nip'
`--no-parameter-indentation'
     Zero width indentation for parameters.
     Note: Indentation.

`-nlp'
`--dont-line-up-parentheses'
     Do not line up parentheses.
     Note: Statements.

`-npcs'
`--no-space-after-function-call-names'
     Do not put space after the function in function calls.
     Note: Statements.

`-nprs'
`--no-space-after-parentheses'
     Do not put a space after every '(' and before every ')'.
     Note: Statements.

`-npsl'
`--dont-break-procedure-type'
     Put the type of a procedure on the same line as its name.
     Note: Declarations.

`-nsaf'
`--no-space-after-for'
     Do not put a space after every `for'.
     Note: Statements.

`-nsai'
`--no-space-after-if'
     Do not put a space after every `if'.
     Note: Statements.

`-nsaw'
`--no-space-after-while'
     Do not put a space after every `while'.
     Note: Statements.

`-nsc'
`--dont-star-comments'
     Do not put the `*' character at the left of comments.
     Note: Comments.

`-nsob'
`--leave-optional-blank-lines'
     Do not swallow optional blank lines.
     Note: Blank lines.

`-nss'
`--dont-space-special-semicolon'
     Do not force a space before the semicolon after certain statements.
     Disables `-ss'.
     Note: Statements.

`-nut'
`--no-tabs'
     Use spaces instead of tabs.
     Note: Indentation.

`-nv'
`--no-verbosity'
     Disable verbose mode.
     Note: Miscellaneous options.

`-orig'
`--original'
     Use the original Berkeley coding style.
     Note: Common styles.

`-npro'
`--ignore-profile'
     Do not read `.indent.pro' files.
     Note: Invoking indent.

`-pcs'
`--space-after-procedure-calls'
     Insert a space between the name of the procedure being called and
     the `('.
     Note: Statements.

`-piN'
`--paren-indentationN'
     Specify the extra indentation per open parentheses '(' when a
     statement is broken.  Note: Statements.

`-pmt'
`--preserve-mtime'
     Preserve access and modification times on output files.  Note:
     Miscellaneous options.

`-prs'
`--space-after-parentheses'
     Put a space after every '(' and before every ')'.
     Note: Statements.

`-psl'
`--procnames-start-lines'
     Put the type of a procedure on the line before its name.
     Note: Declarations.

`-saf'
`--space-after-for'
     Put a space after each `for'.
     Note: Statements.

`-sai'
`--space-after-if'
     Put a space after each `if'.
     Note: Statements.

`-saw'
`--space-after-while'
     Put a space after each `while'.
     Note: Statements.

`-sbiN'
`--struct-brace-indentationN'
     Indent braces of a struct, union or enum N spaces.
     Note: Statements.

`-sc'
`--start-left-side-of-comments'
     Put the `*' character at the left of comments.
     Note: Comments.

`-sob'
`--swallow-optional-blank-lines'
     Swallow optional blank lines.
     Note: Blank lines.

`-ss'
`--space-special-semicolon'
     On one-line `for' and `while' statments, force a blank before the
     semicolon.
     Note: Statements.

`-st'
`--standard-output'
     Write to standard output.
     Note: Invoking indent.

`-T'
     Tell `indent' the name of typenames.
     Note: Declarations.

`-tsN'
`--tab-sizeN'
     Set tab size to N spaces.
     Note: Indentation.

`-ut'
`--use-tabs'
     Use tabs. This is the default.
     Note: Indentation.

`-v'
`--verbose'
     Enable verbose mode.
     Note: Miscellaneous options.

`-version'
     Output the version number of `indent'.
     Note: Miscellaneous options.

Options' Cross Key
------------------

   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
     --brace-indent                                  -bli
     --braces-after-struct-decl-line                 -bls
     --braces-on-if-line                             -br
     --braces-on-struct-decl-line                    -brs
     --break-after-boolean-operator                  -nbbo
     --break-before-boolean-operator                 -bbo
     --break-function-decl-args                      -bfda
     --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-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-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-level                                  -iN
     --k-and-r-style                                 -kr
     --leave-optional-blank-lines                    -nsob
     --leave-preprocessor-space                      -lps
     --line-comments-indentation                     -dN
     --line-length                                   -lN
     --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
     --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


automatically generated by info2www version 1.2.2.9