indent(1) on Linux
The text 25011becd5d0, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster) shipped it.
changes the appearance of a C program by inserting or deleting whitespace.
Flags it lists
-
--Bill-Shannon -
--align-with-spaces -
--blank-before-sizeof -
--blank-lines-after-commas -
--blank-lines-after-declarations -
--blank-lines-after-procedures -
--blank-lines-before-block-comments -
--brace-indentn -
--braces-after-func-def-line -
--braces-after-if-line -
--braces-after-struct-decl-line -
--braces-on-func-def-line -
--braces-on-if-line -
--braces-on-struct-decl-line -
--break-after-boolean-operator -
--break-before-boolean-operator -
--break-function-decl-args -
--break-function-decl-args-end -
--case-brace-indentationn -
--case-indentationn -
--comment-delimiters-on-blank-lines -
--comment-indentationn -
--comment-line-lengthn -
--continuation-indentationn -
--continue-at-parentheses -
--cuddle-do-while -
--cuddle-else -
--declaration-comment-columnn -
--declaration-indentationn -
--dont-break-function-decl-args -
--dont-break-procedure-type -
--dont-cuddle-do-while -
--dont-cuddle-else -
--dont-format-comments -
--dont-format-first-column-comments -
--dont-left-justify-declarations -
--dont-line-up-parentheses -
--dont-space-special-semicolon -
--dont-star-comments -
--dont-tab-align-comments -
--else-endif-columnn -
--fix-nested-comments -
--format-all-comments -
--format-first-column-comments -
--gettext-strings -
--gnu-style -
--honour-newlines -
--ignore-newlines -
--ignore-profile -
--indent-labeln -
--indent-leveln -
--k-and-r-style -
--leave-optional-blank-lines -
--leave-preprocessor-space -
--left-justify-declarations -
--line-comments-indentationn -
--line-lengthn -
--linux-style -
--no-blank-lines-after-commas -
--no-blank-lines-after-declarations -
--no-blank-lines-after-procedures -
--no-comment-delimiters-on-blank-lines -
--no-gettext-strings -
--no-parameter-indentation -
--no-space-after-casts -
--no-space-after-for -
--no-space-after-function-call-names -
--no-space-after-if -
--no-space-after-parentheses -
--no-space-after-while -
--no-tabs -
--no-verbosity -
--original -
--parameter-indentationn -
--paren-indentationn -
--pointer-align-left -
--pointer-align-right -
--preprocessor-indentationn -
--preserve-mtime -
--procnames-start-lines -
--single-line-conditionals -
--space-after-cast -
--space-after-for -
--space-after-if -
--space-after-parentheses -
--space-after-procedure-calls -
--space-after-while -
--space-special-semicolon -
--spaces-around-initializers -
--standard-output -
--start-left-side-of-comments -
--struct-brace-indentationn -
--swallow-optional-blank-lines -
--tab-sizen -
--use-tabs -
--verbose -
-T -
-as -
-bad -
-bap -
-bbb -
-bbo -
-bc -
-bfda -
-bfde -
-bl -
-blf -
-blin -
-bls -
-br -
-brf -
-brs -
-bs -
-cbin -
-cdb -
-cdn -
-cdw -
-ce -
-cin -
-clin -
-cn -
-cpn -
-cs -
-din -
-dj -
-dn -
-fc1 -
-fca -
-fnc -
-gnu -
-gts -
-hnl -
-iln -
-in -
-ipn -
-kr -
-lcn -
-linux -
-ln -
-lp -
-lps -
-nbad -
-nbap -
-nbbo -
-nbc -
-nbfda -
-ncdb -
-ncdw -
-nce -
-ncs -
-ndjn -
-nfc1 -
-nfca -
-ngts -
-nhnl -
-nip -
-nlp -
-npcs -
-npro -
-nprs -
-npsl -
-nsaf -
-nsai -
-nsaw -
-nsc -
-nsob -
-nss -
-ntac -
-nut -
-nv -
-orig -
-pal -
-par -
-pcs -
-pin -
-pmt -
-ppin -
-prs -
-psl -
-saf -
-sai -
-sar -
-saw -
-sbin -
-sc -
-slc -
-sob -
-ss -
-st -
-tsn -
-ut -
-v -
-version