summaryrefslogtreecommitdiffstats
path: root/utils/c-code-indent
diff options
context:
space:
mode:
Diffstat (limited to 'utils/c-code-indent')
-rwxr-xr-xutils/c-code-indent3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/c-code-indent b/utils/c-code-indent
new file mode 100755
index 0000000..0d5381d
--- /dev/null
+++ b/utils/c-code-indent
@@ -0,0 +1,3 @@
+#!/bin/sh
+PARAM="-npro -kr -nut -bbb -bad -i8 -ts8 -sob -l100 -ss -ncs -cp1 -sc -nsaf -nsai -nsaw -nbbo -hnl -br -ce"
+indent $PARAM "$@"