summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.c
diff options
context:
space:
mode:
authorKarel Zak2017-06-26 14:09:53 +0200
committerKarel Zak2017-06-26 14:09:53 +0200
commitc3a4cfc5795da0a5f7eb2753aef3f543d12c8341 (patch)
tree301da946ab6604b0d5220f45389633e14490211e /disk-utils/partx.c
parentMerge branch '170622' of github.com:jwpi/util-linux (diff)
downloadkernel-qcow2-util-linux-c3a4cfc5795da0a5f7eb2753aef3f543d12c8341.tar.gz
kernel-qcow2-util-linux-c3a4cfc5795da0a5f7eb2753aef3f543d12c8341.tar.xz
kernel-qcow2-util-linux-c3a4cfc5795da0a5f7eb2753aef3f543d12c8341.zip
misc: consolidate usage() "Available columns"
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/partx.c')
-rw-r--r--disk-utils/partx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/disk-utils/partx.c b/disk-utils/partx.c
index 941fc46aa..93fbc9c1d 100644
--- a/disk-utils/partx.c
+++ b/disk-utils/partx.c
@@ -775,8 +775,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out)
fputs(USAGE_HELP, out);
fputs(USAGE_VERSION, out);
- fputs(_("\nAvailable columns (for --show, --raw or --pairs):\n"), out);
-
+ fputs(USAGE_COLUMNS, out);
for (i = 0; i < NCOLS; i++)
fprintf(out, " %10s %s\n", infos[i].name, _(infos[i].help));