From: Benno Schulenberg Date: Wed, 24 Dec 2014 16:56:05 +0000 (+0100) Subject: setarch: make the usage synopsis comprehensible for translators X-Git-Tag: v2.26-rc1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=682430494c9dd619cf74b35d289f8bf8d48cbca1;p=thirdparty%2Futil-linux.git 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 --- diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index 09430380a9..518eaca4bd 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);