summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-07 21:27:46 +0200
committerwm4 <wm4@nowhere>2013-05-12 21:24:55 +0200
commit30dd18eac165b393e89b03e53518aa77ccaa85a1 (patch)
tree45f70435e64fabf1ece4b7802efb2e297f35921b /TOOLS
parent8bd6bf14bbe034cc198ed9b6ae8f5b871522ab55 (diff)
downloadmpv-30dd18eac165b393e89b03e53518aa77ccaa85a1.tar.bz2
mpv-30dd18eac165b393e89b03e53518aa77ccaa85a1.tar.xz
uncrustify: add some instructions
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/uncrustify.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/TOOLS/uncrustify.cfg b/TOOLS/uncrustify.cfg
index b5133be203..837d9a1770 100644
--- a/TOOLS/uncrustify.cfg
+++ b/TOOLS/uncrustify.cfg
@@ -1,3 +1,10 @@
+# Usage:
+# uncrustify -l C -c TOOLS/uncrustify.cfg --no-backup --replace file.c
+#
+# Keep in mind that this uncrustify configuration still produces some
+# bad/broken formatting.
+#
+
code_width=80
indent_align_string=false
indent_braces=false