From dcc9b649b980c5b8785a91621af1f16839997851 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 1 Mar 2003 22:51:18 +0000 Subject: [PATCH] gmshindent -> indent.sh --- utils/indent.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 utils/indent.sh diff --git a/utils/indent.sh b/utils/indent.sh new file mode 100644 index 0000000000..24bf22ed28 --- /dev/null +++ b/utils/indent.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# indent should be GNU indent + +indent --braces-on-if-line --cuddle-do-while --honour-newlines --no-space-after-casts --no-space-after-function-call-names --no-space-after-for --no-space-after-if --no-space-after-while --no-tabs --dont-format-comments --comment-indentation1 --dont-break-procedure-type $* + +# If we don't want the return type on the same line as the function +# name, just remove --dont-break-procedure-type -- GitLab