From: Benno Schulenberg Date: Wed, 24 Dec 2014 16:56:03 +0000 (+0100) Subject: ipcrm: gettextize the command synopsis of the usage text X-Git-Tag: v2.26-rc1~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e788f46212d0e5072d0459775df497ea580995f;p=thirdparty%2Futil-linux.git ipcrm: gettextize the command synopsis of the usage text Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index 6702631997..6e1f2226e3 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 ...\n", program_invocation_short_name); + fprintf(out, _(" %s [options]\n" + " %s shm|msg|sem ...\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 remove shared memory segment by id\n"), out); fputs(_(" -M, --shmem-key remove shared memory segment by key\n"), out); fputs(_(" -q, --queue-id remove message queue by id\n"), out);