astyle options [Was: Scaheme formatting with astyle]

Thomas Troesch ttroesch at gmail.com
Thu Feb 25 10:56:17 EST 2010


On Thu, Feb 25, 2010 at 12:22 AM, Christian Stimming <stimming at tuhh.de>wrote:

> Zitat von Thomas Troesch <ttroesch at gmail.com>:
>
>  http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121.htmland
>>>> my commit r18675 recently.
>>>>
>>>>  which links to previous
>>>
>>>  As a one-liner:
>>>
>>>>
>>>>  $ astyle --indent=spaces=4 --brackets=break --pad-oper  *.[hc]
>>>>
>>>>
>>>  its --pad=oper so
>>
>>  $ astyle --indent=spaces=4 --brackets=break --pad=oper  *.[hc]
>>
>
> This part of the astyle option syntax changed recently. It used to be
> --pad=oper (with equal sign), but with astyle-1.24 it is --pad-oper
> --pad-header (both with dash, no equal sign anymore).
>

Wow.  Hopefully the options produce the same results in the different
versions...

Thanks,

Thomas


More information about the gnucash-devel mailing list