From: Benno Schulenberg Date: Mon, 22 Sep 2014 20:15:31 +0000 (+0200) Subject: textual: use angular brackets around each individual argument X-Git-Tag: v2.26-rc1~443 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09638694d47c6235e39bddadfa35d2a388c2e97a;p=thirdparty%2Futil-linux.git textual: use angular brackets around each individual argument In usage texts each word that is an argument should be marked separately with angular brackets. Also add a translator comment. Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index 100f6a5349..c96e39ad1f 100644 --- a/sys-utils/renice.c +++ b/sys-utils/renice.c @@ -66,7 +66,7 @@ static void __attribute__((__noreturn__)) usage(FILE *out) fputs(_(" -n, --priority specify the nice increment value\n"), out); fputs(_(" -p, --pid interpret argument as process ID (default)\n"), out); fputs(_(" -g, --pgrp interpret argument as process group ID\n"), out); - fputs(_(" -u, --user interpret argument as username or user ID\n"), out); + fputs(_(" -u, --user | interpret argument as username or user ID\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); @@ -176,6 +176,8 @@ int main(int argc, char **argv) } else { who = strtol(*argv, &endptr, 10); if (who < 0 || *endptr) { + /* TRANSLATORS: The first %s is one of the above + * three ID names. Read: "bad value for %s: %s" */ warnx(_("bad %s value: %s"), idtype[which], *argv); errs = 1; continue;