]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Added an option -ldi<N> to control indentation of local variable names.
authorbde <bde@FreeBSD.org>
Mon, 9 Feb 2004 21:48:51 +0000 (21:48 +0000)
committerbde <bde@FreeBSD.org>
Mon, 9 Feb 2004 21:48:51 +0000 (21:48 +0000)
commit230bb0491dfc8c7495c5d9221e0dd83f981f3a24
tree433a65a96ac9674af5f002fd33f672392a77b318
parentfb0b5ce61d257b76d357e8c73de3a01f08a2d4b7
Added an option -ldi<N> to control indentation of local variable names.
The default is to be backwards compatible and non-KNF (use the same
indentation for locals as for globals; -ldi0 gives KNF indentation
for locals (none)).  The indentation for globals also applies to struct
member names in local declatations.  The indentation of variable names
in multi-line declarations is broken in various ways and this commit
gives some new variations.

indent.1:
Also clarified the description of -di<N>.
usr.bin/indent/args.c
usr.bin/indent/indent.1
usr.bin/indent/indent.c
usr.bin/indent/indent_globs.h