]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/c.h: add USAGE_LIST_COLUMNS_OPTION() macro
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 10 Oct 2025 23:17:42 +0000 (19:17 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 10 Oct 2025 23:51:24 +0000 (19:51 -0400)
commitf3e0092ac4415079959bdb4ee293f8a6a7874908
tree27c6c23e4f210566d9a7485b17c054762ca38388
parentdb0efab5c3e13794ae79fcb3db8371e3af510169
include/c.h: add USAGE_LIST_COLUMNS_OPTION() macro

With this new macro we no longer have to redundantly specify
`fputs(_(" -H, --list-columns...` in the usage() function of ls-like tools, as it
will be consolidated to the USAGE_LIST_COLUMNS_OPTION() macro.

USAGE_LIST_COLUMNS_OPTION() aligns the option description to the other descriptions
in the usage() output in the same way as USAGE_HELP_OPTIONS().

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
include/c.h