aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2019-08-21 20:25:31 +0100
committerSami Kerola <kerolasa@iki.fi>2019-08-24 09:29:52 +0100
commita7466bdcbe80ec3b387b835647c8e44fe4ef3c98 (patch)
tree9af5cf684d459908f3a3a8a51b6c7f3b592446c5 /disk-utils/cfdisk.c
parente8765d3301285b6d38111184ccec6f8efa473cd0 (diff)
downloadutil-linux-a7466bdcbe80ec3b387b835647c8e44fe4ef3c98.tar.gz
po: remove possibility to translate static option arguments
These strings are expected to be wrote exactly as they are parsed, so make translating them impossible. Since mkfs.cramfs -N option arguments need this treatment use opportunity to slice usage() output to multiple lines. Addresses: https://bugs.debian.org/907568 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'disk-utils/cfdisk.c')
-rw-r--r--disk-utils/cfdisk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 61f3258b3c..b219b2c621 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -2635,7 +2635,8 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_("Display or manipulate a disk partition table.\n"), out);
fputs(USAGE_OPTIONS, out);
- fputs(_(" -L, --color[=<when>] colorize output (auto, always or never)\n"), out);
+ fprintf(out,
+ _(" -L, --color[=<when>] colorize output (%s, %s or %s)\n"), "auto", "always", "never");
fprintf(out,
" %s\n", USAGE_COLORS_DEFAULT);
fputs(_(" -z, --zero start with zeroed partition table\n"), out);