DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(indent.info.gz) Option Summary

Info Catalog (indent.info.gz) Indent Program (indent.info.gz) Top (indent.info.gz) Index
 
 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.
       Blank lines.
 
 `-bap'
 `--blank-lines-after-procedures'
      Force blank lines after procedure bodies.
       Blank lines.
 
 `-bbb'
 `--blank-lines-before-block-comments'
      Force blank lines before block comments.
       Blank lines.
 
 `-bbo'
 `--break-before-boolean-operator'
      Prefer to break long lines before boolean operators.
       Breaking long lines.
 
 `-bc'
 `--blank-lines-after-commas'
      Force newline after comma in declaration.
       Declarations.
 
 `-bl'
 `--braces-after-if-line'
      Put braces on line after `if', etc.
       Statements.
 
 `-bliN'
 `--brace-indentN'
      Indent braces N spaces.
       Statements.
 
 `-bls'
 `--braces-after-struct-decl-line'
      Put braces on the line after `struct' declaration lines.
       Declarations.
 
 `-br'
 `--braces-on-if-line'
      Put braces on line with `if', etc.
       Statements.
 
 `-brs'
 `--braces-on-struct-decl-line'
      Put braces on `struct' declaration line.
       Declarations.
 
 `-bs'
 `--Bill-Shannon'
 `--blank-before-sizeof'
      Put a space between `sizeof' and its argument.
       Statements.
 
 `-cN'
 `--comment-indentationN'
      Put comments to the right of code in column N.
       Comments.
 
 `-cbiN'
 `--case-brace-indentationN'
      Indent braces after a case label N spaces.
       Statements.
 
 `-cdN'
 `--declaration-comment-columnN'
      Put comments to the right of the declarations in column N.
       Comments.
 
 `-cdb'
 `--comment-delimiters-on-blank-lines'
      Put comment delimiters on blank lines.
       Comments.
 
 `-cdw'
 `--cuddle-do-while'
      Cuddle while of `do {} while;' and preceeding `}'.
       Comments.
 
 `-ce'
 `--cuddle-else'
      Cuddle else and preceeding `}'.
       Comments.
 
 `-ciN'
 `--continuation-indentationN'
      Continuation indent of N spaces.
       Statements.
 
 `-cliN'
 `--case-indentationN'
      Case label indent of N spaces.
       Statements.
 
 `-cpN'
 `--else-endif-columnN'
      Put comments to the right of `#else' and `#endif' statements in
      column N.
       Comments.
 
 `-cs'
 `--space-after-cast'
      Put a space after a cast operator.
       Statements.
 
 `-dN'
 `--line-comments-indentationN'
      Set indentation of comments not to the right of code to N spaces.
       Comments.
 
 `-bfda'
 `--break-function-decl-args'
      Break the line before all arguments in a declaration.
       Declarations.
 
 `-bfde'
 `--break-function-decl-args'
      Break the line after the last argument in a declaration.
       Declarations.
 
 `-diN'
 `--declaration-indentationN'
      Put variables in column N.
       Declarations.
 
 `-fc1'
 `--format-first-column-comments'
      Format comments in the first column.
       Comments.
 
 `-fca'
 `--format-all-comments'
      Do not disable all formatting of comments.
       Comments.
 
 `-gnu'
 `--gnu-style'
      Use GNU coding style.  This is the default.
       Common styles.
 
 `-hnl'
 `--honour-newlines'
      Prefer to break long lines at the position of newlines in the
      input.
       Breaking long lines.
 
 `-iN'
 `--indent-levelN'
      Set indentation level to N spaces.
       Indentation.
 
 `-ipN'
 `--parameter-indentationN'
      Indent parameter types in old-style function definitions by N
      spaces.
       Indentation.
 
 `-kr'
 `--k-and-r-style'
      Use Kernighan & Ritchie coding style.
       Common styles.
 
 `-lN'
 `--line-lengthN'
      Set maximum line length for non-comment lines to N.
       Breaking long lines.
 
 `-lcN'
 `--comment-line-lengthN'
      Set maximum line length for comment formatting to N.
       Comments.
 
 `-lp'
 `--continue-at-parentheses'
      Line up continued lines at parentheses.
       Indentation.
 
 `-lps'
 `--leave-preprocessor-space'
      Leave space between `#' and preprocessor directive.
       Indentation.
 
 `-nbad'
 `--no-blank-lines-after-declarations'
      Do not force blank lines after declarations.
       Blank lines.
 
 `-nbap'
 `--no-blank-lines-after-procedures'
      Do not force blank lines after procedure bodies.
       Blank lines.
 
 `-nbbo'
 `--break-after-boolean-operator'
      Do not prefer to break long lines before boolean operators.
       Breaking long lines.
 
 `-nbc'
 `--no-blank-lines-after-commas'
      Do not force newlines after commas in declarations.
       Declarations.
 
 `-nbfda'
 `--dont-break-function-decl-args'
      Don't put each argument in a function declaration on a seperate
      line.
       Declarations.
 
 `-ncdb'
 `--no-comment-delimiters-on-blank-lines'
      Do not put comment delimiters on blank lines.
       Comments.
 
 `-ncdw'
 `--dont-cuddle-do-while'
      Do not cuddle `}' and the `while' of a `do {} while;'.
       Statements.
 
 `-nce'
 `--dont-cuddle-else'
      Do not cuddle `}' and `else'.
       Statements.
 
 `-ncs'
 `--no-space-after-casts'
      Do not put a space after cast operators.
       Statements.
 
 `-nfc1'
 `--dont-format-first-column-comments'
      Do not format comments in the first column as normal.
       Comments.
 
 `-nfca'
 `--dont-format-comments'
      Do not format any comments.
       Comments.
 
 `-nhnl'
 `--ignore-newlines'
      Do not prefer to break long lines at the position of newlines in
      the input.
       Breaking long lines.
 
 `-nip'
 `--no-parameter-indentation'
      Zero width indentation for parameters.
       Indentation.
 
 `-nlp'
 `--dont-line-up-parentheses'
      Do not line up parentheses.
       Statements.
 
 `-npcs'
 `--no-space-after-function-call-names'
      Do not put space after the function in function calls.
       Statements.
 
 `-nprs'
 `--no-space-after-parentheses'
      Do not put a space after every '(' and before every ')'.
       Statements.
 
 `-npsl'
 `--dont-break-procedure-type'
      Put the type of a procedure on the same line as its name.
       Declarations.
 
 `-nsaf'
 `--no-space-after-for'
      Do not put a space after every `for'.
       Statements.
 
 `-nsai'
 `--no-space-after-if'
      Do not put a space after every `if'.
       Statements.
 
 `-nsaw'
 `--no-space-after-while'
      Do not put a space after every `while'.
       Statements.
 
 `-nsc'
 `--dont-star-comments'
      Do not put the `*' character at the left of comments.
       Comments.
 
 `-nsob'
 `--leave-optional-blank-lines'
      Do not swallow optional blank lines.
       Blank lines.
 
 `-nss'
 `--dont-space-special-semicolon'
      Do not force a space before the semicolon after certain statements.
      Disables `-ss'.
       Statements.
 
 `-nut'
 `--no-tabs'
      Use spaces instead of tabs.
       Indentation.
 
 `-nv'
 `--no-verbosity'
      Disable verbose mode.
       Miscellaneous options.
 
 `-orig'
 `--original'
      Use the original Berkeley coding style.
       Common styles.
 
 `-npro'
 `--ignore-profile'
      Do not read `.indent.pro' files.
       Invoking indent.
 
 `-pcs'
 `--space-after-procedure-calls'
      Insert a space between the name of the procedure being called and
      the `('.
       Statements.
 
 `-piN'
 `--paren-indentationN'
      Specify the extra indentation per open parentheses '(' when a
      statement is broken.   Statements.
 
 `-pmt'
 `--preserve-mtime'
      Preserve access and modification times on output files.  
      Miscellaneous options.
 
 `-prs'
 `--space-after-parentheses'
      Put a space after every '(' and before every ')'.
       Statements.
 
 `-psl'
 `--procnames-start-lines'
      Put the type of a procedure on the line before its name.
       Declarations.
 
 `-saf'
 `--space-after-for'
      Put a space after each `for'.
       Statements.
 
 `-sai'
 `--space-after-if'
      Put a space after each `if'.
       Statements.
 
 `-saw'
 `--space-after-while'
      Put a space after each `while'.
       Statements.
 
 `-sbiN'
 `--struct-brace-indentationN'
      Indent braces of a struct, union or enum N spaces.
       Statements.
 
 `-sc'
 `--start-left-side-of-comments'
      Put the `*' character at the left of comments.
       Comments.
 
 `-sob'
 `--swallow-optional-blank-lines'
      Swallow optional blank lines.
       Blank lines.
 
 `-ss'
 `--space-special-semicolon'
      On one-line `for' and `while' statments, force a blank before the
      semicolon.
       Statements.
 
 `-st'
 `--standard-output'
      Write to standard output.
       Invoking indent.
 
 `-T'
      Tell `indent' the name of typenames.
       Declarations.
 
 `-tsN'
 `--tab-sizeN'
      Set tab size to N spaces.
       Indentation.
 
 `-ut'
 `--use-tabs'
      Use tabs. This is the default.
       Indentation.
 
 `-v'
 `--verbose'
      Enable verbose mode.
       Miscellaneous options.
 
 `-version'
      Output the version number of `indent'.
       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
      --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-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
 
Info Catalog (indent.info.gz) Indent Program (indent.info.gz) Top (indent.info.gz) Index
automatically generated byinfo2html