I have noticed that in indent version 2.2.9 (at least as distributed by
Gentoo), the option '-brf' can be specified and is appropriately used, but
is not documented in the either the info documentation or the manpage. I've
appended a diff to indent.texinfo that documents this option. I'm pretty
sure I've caught all the places it should be referenced, but as this is the
first time I've ever submitted a patch of any kind, I may have gotten
something a bit wrong. Comments are of course welcome.
David Huston
738a739,769
> @kindex -brf
> @kindex --braces-on-func-def-line
> @kindex -blf
> @kindex --braces-after-func-def-line
> @noindent
> The @option{-brf} option is analogous to the @option{-br} option, but
> for function declarations. For example, @option{-brf} formats braces
> as such:
>
> @example
> @group
> int main (int argc, char ** argv) @{
> foo();
> return EXIT_SUCCESS;
> @}
> @end group
> @end example
>
> @noindent
> The @option{-blf} option formats function declarations as:
>
> @example
> @group
> int main (int argc, char ** argv)
> @{
> foo();
> return EXIT_SUCCESS;
> @}
> @end group
> @end example
>
1514a1546,1550
> @item -blf
> @itemx --braces-after-func-def-line
> Put braces on line after function [EMAIL PROTECTED]
> @xref{Statements}.
>
1529a1566,1570
> @item -brf
> @itemx --braces-on-func-def-line
> Put braces on line with function [EMAIL PROTECTED]
> @xref{Statements}.
>
1924a1966
> \line{ --braces-after-func-def-line \leaderfill -blf\ \ }
1925a1968
> \line{ --braces-on-func-def-line \leaderfill -brf\ \ }
2008a2052
> --braces-after-func-def-line -blf
2009a2054
> --braces-on-func-def-line -brf
_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent