summaryrefslogtreecommitdiffstats
path: root/include/optutils.h
diff options
context:
space:
mode:
authorBenno Schulenberg2014-08-06 22:35:06 +0200
committerKarel Zak2014-08-11 14:51:54 +0200
commit1d23119072a3a117e7bb83694bd30b9d50961374 (patch)
treebaf54ddaf7016962a1b4c12bfd92c54e9379e71c /include/optutils.h
parentlscpu: clean up vmware inline asm (diff)
downloadkernel-qcow2-util-linux-1d23119072a3a117e7bb83694bd30b9d50961374.tar.gz
kernel-qcow2-util-linux-1d23119072a3a117e7bb83694bd30b9d50961374.tar.xz
kernel-qcow2-util-linux-1d23119072a3a117e7bb83694bd30b9d50961374.zip
textual: remove some inconsistent periods from error messages
While doing so, also improve translatability and some wordings. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'include/optutils.h')
-rw-r--r--include/optutils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/optutils.h b/include/optutils.h
index 9177860bb..fd5dde39b 100644
--- a/include/optutils.h
+++ b/include/optutils.h
@@ -78,7 +78,8 @@ static inline void err_exclusive_options(
else if (status[e] != c) {
size_t ct = 0;
- fprintf(stderr, _("%s: options "),
+ fprintf(stderr, _("%s: these options are"
+ "mutually exclusive:"),
program_invocation_short_name);
for (op = excl[e];
@@ -86,11 +87,10 @@ static inline void err_exclusive_options(
op++, ct++) {
const char *n = option_to_longopt(*op, opts);
if (n)
- fprintf(stderr, "--%s ", n);
+ fprintf(stderr, " --%s", n);
else
- fprintf(stderr, "-%c ", *op);
+ fprintf(stderr, " -%c", *op);
}
- fprintf(stderr, _("are mutually exclusive."));
fputc('\n', stderr);
exit(OPTUTILS_EXIT_CODE);
}