From: Benno Schulenberg Date: Mon, 28 Apr 2014 21:12:41 +0000 (+0200) Subject: ipcs: do not gettextize wordless strings X-Git-Tag: v2.25-rc1~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0de963ce413ce37088c453620a7b01182611b611;p=thirdparty%2Futil-linux.git ipcs: do not gettextize wordless strings Also tweak a few parts of the usage message. Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c index 90d6e0e996..8ed5698ddb 100644 --- a/sys-utils/ipcs.c +++ b/sys-utils/ipcs.c @@ -53,23 +53,23 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) fprintf(out, " %s [resource ...] [output-format]\n", program_invocation_short_name); fprintf(out, " %s [resource] -i \n", program_invocation_short_name); fprintf(out, USAGE_OPTIONS); - fputs(_(" -i, --id print details on resource identified by id\n"), out); + fputs(_(" -i, --id print details on resource identified by \n"), out); fprintf(out, USAGE_HELP); fprintf(out, USAGE_VERSION); - fputs(_("\n"), out); + fprintf(out, USAGE_SEPARATOR); fputs(_("Resource options:\n"), out); fputs(_(" -m, --shmems shared memory segments\n"), out); fputs(_(" -q, --queues message queues\n"), out); fputs(_(" -s, --semaphores semaphores\n"), out); fputs(_(" -a, --all all (default)\n"), out); - fputs(_("\n"), out); + fprintf(out, USAGE_SEPARATOR); fputs(_("Output format:\n"), out); fputs(_(" -t, --time show attach, detach and change times\n"), out); - fputs(_(" -p, --pid show creator and last operations PIDs\n"), out); + fputs(_(" -p, --pid show PIDs of creator and last operator\n"), out); fputs(_(" -c, --creator show creator and owner\n"), out); fputs(_(" -l, --limits show resource limits\n"), out); fputs(_(" -u, --summary show status summary\n"), out); - fputs(_(" --human show sizes in human readable format\n"), out); + fputs(_(" --human show sizes in human-readable format\n"), out); fputs(_(" -b, --bytes show sizes in bytes\n"), out); fprintf(out, USAGE_MAN_TAIL("ipcs(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);