Skip to content

Instantly share code, notes, and snippets.

@esycat
Created September 27, 2013 06:16
Show Gist options
  • Save esycat/6724746 to your computer and use it in GitHub Desktop.
Save esycat/6724746 to your computer and use it in GitHub Desktop.
indent params
TAB_SIZE=4
LINE_LENGTH=120
indent \
--no-tabs \
--tab-size${TAB_SIZE} \
--line-length${LINE_LENGTH} \
--space-after-cast \
--braces-on-if-line \
--braces-on-func-def-line \
--braces-on-struct-decl-line \
--space-after-if \
--space-after-for \
--space-after-while \
--dont-cuddle-else \
--dont-cuddle-do-while \
--dont-break-function-decl-args \
--no-space-after-function-call-names \
--no-space-after-parentheses \
filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment