diff options
| author | Christian Goeschel Ndjomouo <cgoesc2@wgu.edu> | 2025-10-10 20:15:51 -0400 |
|---|---|---|
| committer | Christian Goeschel Ndjomouo <cgoesc2@wgu.edu> | 2025-10-11 13:35:05 -0400 |
| commit | 92b82b9a0f2de981ff84097b9fe4be912f16218c (patch) | |
| tree | 856123ed0481a5dd2e4f512604e4ddb6109ef975 /misc-utils/lsblk.c | |
| parent | f3e0092ac4415079959bdb4ee293f8a6a7874908 (diff) | |
| download | util-linux-92b82b9a0f2de981ff84097b9fe4be912f16218c.tar.gz | |
treewide: consolidate --list-columns option in usage() to USAGE_LIST_COLUMNS_OPTION()
This consolidates the --list-columns description in the usage()
of ls-like tools to the USAGE_LIST_COLUMNS_OPTION() macro. It
makes it simplier and ensures a consistent definition.
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Diffstat (limited to 'misc-utils/lsblk.c')
| -rw-r--r-- | misc-utils/lsblk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 39a8ca83f4..8f09093b4d 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -2353,7 +2353,7 @@ static void __attribute__((__noreturn__)) usage(void) " methods used to gather data (default: file,udev,blkid)\n"), out); fputs(USAGE_SEPARATOR, out); - fputs(_(" -H, --list-columns list the available columns\n"), out); + fprintf(out, USAGE_LIST_COLUMNS_OPTION(22)); fprintf(out, USAGE_HELP_OPTIONS(22)); fprintf(out, USAGE_MAN_TAIL("lsblk(8)")); |
