]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ipcs: do not gettextize wordless strings
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 28 Apr 2014 21:12:41 +0000 (23:12 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 May 2014 09:09:29 +0000 (11:09 +0200)
Also tweak a few parts of the usage message.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
sys-utils/ipcs.c

index 90d6e0e9961ca6032a0707901620bd2c2f669a28..8ed5698ddbd5d28a573da2a6646164fe0960defb 100644 (file)
@@ -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 <id>\n", program_invocation_short_name);
        fprintf(out, USAGE_OPTIONS);
-       fputs(_(" -i, --id <id>  print details on resource identified by id\n"), out);
+       fputs(_(" -i, --id <id>  print details on resource identified by <id>\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);