ccx-utils

Miscellaneous utilities written in C
git clone https://ccx.te2000.cz/git/ccx-utils
Log | Files | Refs

commit 1f365a8c08f1be35010b58d935310edfbeb5dce5
parent 1a4acae8c898c4b654053c87ad5bc63b17455948
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Wed, 12 Nov 2025 21:40:09 +0000

astyle script

Diffstat:
Astyle | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/style b/style @@ -0,0 +1,21 @@ +#!/bin/sh +exec astyle \ + --style=attach \ + --indent=spaces=4 \ + --max-code-length=88 \ + --attach-closing-while \ + --attach-return-type \ + --break-one-line-headers \ + --add-braces \ + --pad-oper \ + --pad-comma \ + --pad-include \ + --pad-header \ + --unpad-paren \ + --unpad-brackets \ + --add-braces \ + --indent-switches \ + --indent-cases \ + --indent-col1-comments \ + "$@" +