ipcrm: gettextize the command synopsis of the usage text

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
Benno Schulenberg 2014-12-24 17:56:03 +01:00 committed by Karel Zak
parent afd86656de
commit 4e788f4621
1 changed files with 3 additions and 3 deletions

View 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);