diff options
author | Benno Schulenberg | 2014-04-30 10:38:12 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-06 11:12:13 +0200 |
commit | aa06617f6ef8dceff939bdd233fa7df382344ecf (patch) | |
tree | 8b9561a85288311deb7ec26224cec964d17fcccb /sys-utils/ipcrm.c | |
parent | docs: grammarize the usage howto (diff) | |
download | kernel-qcow2-util-linux-aa06617f6ef8dceff939bdd233fa7df382344ecf.tar.gz kernel-qcow2-util-linux-aa06617f6ef8dceff939bdd233fa7df382344ecf.tar.xz kernel-qcow2-util-linux-aa06617f6ef8dceff939bdd233fa7df382344ecf.zip |
textual: remove square brackets from around three dots
Also improve some option descriptions here and there.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/ipcrm.c')
-rw-r--r-- | sys-utils/ipcrm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c index 46c299729..aa58172d8 100644 --- a/sys-utils/ipcrm.c +++ b/sys-utils/ipcrm.c @@ -43,20 +43,20 @@ typedef enum type_id { static int verbose = 0; -/* print the new usage */ +/* print the usage */ 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 shm|msg|sem <id>...\n", program_invocation_short_name); fprintf(out, USAGE_OPTIONS); - fputs(_(" -m, --shmem-id <id> remove shared memory segment by shmid\n"), out); + 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); fputs(_(" -Q, --queue-key <key> remove message queue by key\n"), out); fputs(_(" -s, --semaphore-id <id> remove semaphore by id\n"), out); fputs(_(" -S, --semaphore-key <key> remove semaphore by key\n"), out); - fputs(_(" -a, --all[=<shm|msg|sem>] remove all\n"), out); + fputs(_(" -a, --all[=shm|msg|sem] remove all (in the specified category)\n"), out); fputs(_(" -v, --verbose explain what is being done\n"), out); fprintf(out, USAGE_SEPARATOR); fprintf(out, USAGE_HELP); |