On 5/17/19 7:38 AM, Matteo Croce wrote: > Every tool in the iproute2 package have one or more function to show > an help message to the user. Some of these functions print the help > line by line with a series of printf call, e.g. ip/xfrm_state.c does > 60 fprintf calls. > If we group all the calls to a single one and just concatenate strings, > we save a lot of libc calls and thus object size. The size difference > of the compiled binaries calculated with bloat-o-meter is: >
... > > While at it, indent some strings which were starting at column 0, > and use tabs where possible, to have a consistent style across helps. > > Signed-off-by: Matteo Croce <mcr...@redhat.com> > --- applied to iproute2-next. Thanks for taking the time to clean this up.