summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcrm.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-12-24 17:56:03 +0100
committerKarel Zak2015-01-06 11:41:03 +0100
commit4e788f46212d0e5072d0459775df497ea580995f (patch)
treefe72acb168bc17ecdb445e07de646db3dfcc9571 /sys-utils/ipcrm.c
parentipcs: in usage show resource option as nonoptional when used with -i (diff)
downloadkernel-qcow2-util-linux-4e788f46212d0e5072d0459775df497ea580995f.tar.gz
kernel-qcow2-util-linux-4e788f46212d0e5072d0459775df497ea580995f.tar.xz
kernel-qcow2-util-linux-4e788f46212d0e5072d0459775df497ea580995f.zip
ipcrm: gettextize the command synopsis of the usage text
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/ipcrm.c')
-rw-r--r--sys-utils/ipcrm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index 670263199..6e1f2226e 100644
--- a/sys-utils/ipcrm.c
+++ b/sys-utils/ipcrm.c
@@ -47,13 +47,13 @@ static int verbose = 0;
static void __attribute__ ((__noreturn__)) usage(FILE * out)
{
fprintf(out, USAGE_HEADER);
- fprintf(out, " %s [options]\n", program_invocation_short_name);
- fprintf(out, " %s shm|msg|sem <id>...\n", program_invocation_short_name);
+ fprintf(out, _(" %s [options]\n"
+ " %s shm|msg|sem <id>...\n"), program_invocation_short_name);
fputs(USAGE_SEPARATOR, out);
fputs(_("Remove certain IPC resources.\n"), out);
- fputs(USAGE_OPTIONS, out);
+ fprintf(out, USAGE_OPTIONS);
fputs(_(" -m, --shmem-id <id> remove shared memory segment by id\n"), out);
fputs(_(" -M, --shmem-key <key> remove shared memory segment by key\n"), out);
fputs(_(" -q, --queue-id <id> remove message queue by id\n"), out);