(indent.info)Option Summary


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

Appendix A 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.

'-as'
'--align-with-spaces'
     If using tabs for indentation, use spaces for alignment.
     Note: Indentation.

'-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.

'-blf'
'--braces-after-func-def-line'
     Put braces on line following function definition line.
     Note: Declarations.

'-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.

'-brf'
'--braces-on-func-def-line'
     Put braces on function definition line.
     Note: Declarations.

'-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 preceding '}'.
     Note: Comments.

'-ce'
'--cuddle-else'
     Cuddle else and preceding '}'.
     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'
     Break the line before all arguments in a declaration.
     Note: Declarations.

'-bfde'
'--break-function-decl-args-end'
     Break the line after the last argument in a declaration.
     Note: Declarations.

'-dj'
'--left-justify-declarations'
     If -cd 0 is used then comments after declarations are left
     justified behind the declaration.
     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.

'-fnc'
'--fix-nested-comments'
     Fix nested comments.
     Note: Comments.

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

'-gts'
'--gettext-strings'
     Treat gettext '_("...")' and 'N_("...")' as strings rather than as
     functions.
     Note: Breaking long lines.

'-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.

'-ilN'
'--indent-labelN'
     Set offset for labels to column N.
     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.

'-linux'
'--linux-style'
     Use Linux coding style.
     Note: Common styles.

'-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 separate
     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.

'-ndjN'
'--dont-left-justify-declarations'
     Comments after declarations are treated the same as comments after
     other statements.
     Note: Declarations.

'-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.

'-ngts'
'--no-gettext-strings'
     Treat gettext '_("...")' and 'N_("...")' as normal functions.  This
     is the default.
     Note: Breaking long lines.

'-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.

'-ntac'
'--dont-tab-align-comments'
     Do not pad comments out to the nearest tabstop.
     Note: Comments.

'-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.

'-pal'
'--pointer-align-left'
     Put asterisks in pointer declarations on the left of spaces, next
     to types: "char* p".

'-par'
'--pointer-align-right'
     Put asterisks in pointer declarations on the right of spaces, next
     to variable names: "char *p".  This is the default behavior.

'-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.

'-ppiN'
'--preprocessor-indentationN'
     Specify the indentation for preprocessor conditional statements.
     Note: Indentation.

'-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.

'-sar'
'--spaces-around-initializers'
     Put a space after the '{' and before the '}' in initializers.
     Note: Declarations.

'-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.

'-slc'
'--single-line-conditionals'
     Allow for unbraced conditionals ('if', 'else', etc.)  to have their
     inner statement on the same line.
     Note: Statements.

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

'-ss'
'--space-special-semicolon'
     On one-line 'for' and 'while' statements, 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.

     --align-with-spaces                             -as
     --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
     --dont-tab-align-comments                       -ntac
     --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
     --single-line-conditionals                      -slc
     --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
     --spaces-around-initializers                    -sar
     --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