]> git.draconx.ca Git - dxcommon.git/commit
help: Perform some suffix merging.
authorNick Bowler <nbowler@draconx.ca>
Tue, 5 Dec 2023 02:37:43 +0000 (21:37 -0500)
committerNick Bowler <nbowler@draconx.ca>
Tue, 5 Dec 2023 05:47:51 +0000 (00:47 -0500)
commitcc589a8b1539e9515985081d9498dda2b6b6caf7
treea90c8e7353df5f342d51ac329890cc302f373887
parentac9f1d42b0caa9411e4e8e493c9919c1aaa9ac4f
help: Perform some suffix merging.

Change the format strings to change the two-space indent to just one
space.  This looks perfectly fine, and for the normal case enables half
the strings to be dropped as they are now suffixes of other strings.

We also move the strings in help_print_desc into the table, as one of
these is a suffix of the other, but out of the box GCC does not fully
perform this optimization.
src/help-glo.str
src/help-std.str
src/help.c
tests/functions.at