From 682430494c9dd619cf74b35d289f8bf8d48cbca1 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 24 Dec 2014 17:56:05 +0100 Subject: setarch: make the usage synopsis comprehensible for translators Use two separate strings for the two different forms of setarch, instead of filling in an untranslated word into a single string. Also use the standard angular brackets for nonliteral arguments. Signed-off-by: Benno Schulenberg --- sys-utils/setarch.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys-utils/setarch.c') diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index 09430380a..518eaca4b 100644 --- a/sys-utils/setarch.c +++ b/sys-utils/setarch.c @@ -91,9 +91,10 @@ enum { static void __attribute__((__noreturn__)) show_help(void) { fputs(USAGE_HEADER, stdout); - printf(_(" %s%s [options] [program [program arguments]]\n"), - program_invocation_short_name, - !strcmp(program_invocation_short_name, "setarch") ? " " : ""); + if (!strcmp(program_invocation_short_name, "setarch")) + printf(_(" %s [options] [ [...]]\n"), program_invocation_short_name); + else + printf(_(" %s [options] [ [...]]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, stdout); fputs(_("Change the reported architecture and set personality flags.\n"), stdout); -- cgit v1.2.3-55-g7522