Hi, astyle has a bug in its command line parameters parsing routine which affects the --force-indent=tab=# and --indent=tab=# options. I have fixed it and contacted the author to his SourceForge.net email address, but I still haven't received an answer. I am attaching a diff file (-Naur, as somebody asked me :-)) for the file astyle_main.cpp Reproducible: Always Steps to Reproduce: 1. astyle --force-indent=tab=4 2. 3. Actual Results: The program refuses the option (but it's documented in the --help output!) Expected Results: It should not refuse the option (and should use it!)
Created attachment 26467 [details, diff] Patch for command line parsing error.
Fixed. Available as dev-util/astyle-1.15.3-r1.