[Kmymoney-devel] More astyle thoughts

Ian Neal iann_bugzilla at blueyonder.co.uk
Wed Jun 2 02:34:23 CEST 2010


  Hi all,

I was just wondering if it was worth switching to using an options file 
for astyle.
     case $VER in
       1.2[1-2])
         OPTIONS="options=astylerc-122"
         ;;
       *)
         OPTIONS="options=astylerc-123"
         ;;
     esac

then just calling astyle with --${OPTIONS}

Option files are documented at 
http://astyle.sourceforge.net/astyle.html#_Options_File

This would have the advantage that it is easier to add extra options for 
specific versions of astyle and it could be properly commented.

Any thoughts?

Regards,

Ian



More information about the KMyMoney-devel mailing list