]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ipcrm: gettextize the command synopsis of the usage text
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 24 Dec 2014 16:56:03 +0000 (17:56 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Jan 2015 10:41:03 +0000 (11:41 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
sys-utils/ipcrm.c

index 6702631997b383a64283de95ef0553433eb4fe86..6e1f2226e354b42ada3c42fe79870a30c1318ebf 100644 (file)
@@ -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);