summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcs.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-04-28 23:12:41 +0200
committerKarel Zak2014-05-06 11:09:29 +0200
commit0de963ce413ce37088c453620a7b01182611b611 (patch)
treebdfd8ed9a553bc180bac74c080e429d5fa179600 /sys-utils/ipcs.c
parentinclude/c: do not gettextize a wordless string (diff)
downloadkernel-qcow2-util-linux-0de963ce413ce37088c453620a7b01182611b611.tar.gz
kernel-qcow2-util-linux-0de963ce413ce37088c453620a7b01182611b611.tar.xz
kernel-qcow2-util-linux-0de963ce413ce37088c453620a7b01182611b611.zip
ipcs: do not gettextize wordless strings
Also tweak a few parts of the usage message. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/ipcs.c')
-rw-r--r--sys-utils/ipcs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c
index 90d6e0e99..8ed5698dd 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 <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);