diff options
author | Benno Schulenberg | 2015-08-01 10:23:07 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-03 11:18:56 +0200 |
commit | 62eea9ce12daca1027f0dcbff554020fde809b8c (patch) | |
tree | 5950adc541e910588ee4fc714632c852f002d3d6 /sys-utils/lsipc.c | |
parent | build-sys: mark script(1) as Linux only due to signalfd() (diff) | |
download | kernel-qcow2-util-linux-62eea9ce12daca1027f0dcbff554020fde809b8c.tar.gz kernel-qcow2-util-linux-62eea9ce12daca1027f0dcbff554020fde809b8c.tar.xz kernel-qcow2-util-linux-62eea9ce12daca1027f0dcbff554020fde809b8c.zip |
textual: adjust grammar and punctuation of some messages
Also equalize three messages to one other one,
and fix a typo in USE_COLORS_BY_DEFAULT.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/lsipc.c')
-rw-r--r-- | sys-utils/lsipc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-utils/lsipc.c b/sys-utils/lsipc.c index eecb5086e..f83e6ca9b 100644 --- a/sys-utils/lsipc.c +++ b/sys-utils/lsipc.c @@ -294,15 +294,15 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) for (i = COLDESC_IDX_GEN_FIRST; i <= COLDESC_IDX_GEN_LAST; i++) fprintf(out, " %14s %s\n", coldescs[i].name, _(coldescs[i].help)); - fprintf(out, _("\nShared memory columns (--shmems):\n")); + fprintf(out, _("\nShared-memory columns (--shmems):\n")); for (i = COLDESC_IDX_SHM_FIRST; i <= COLDESC_IDX_SHM_LAST; i++) fprintf(out, " %14s %s\n", coldescs[i].name, _(coldescs[i].help)); - fprintf(out, _("\nMessages queues columns (--queues):\n")); + fprintf(out, _("\nMessage-queue columns (--queues):\n")); for (i = COLDESC_IDX_MSG_FIRST; i <= COLDESC_IDX_MSG_LAST; i++) fprintf(out, " %14s %s\n", coldescs[i].name, _(coldescs[i].help)); - fprintf(out, _("\nSemaphores columns (--semaphores):\n")); + fprintf(out, _("\nSemaphore columns (--semaphores):\n")); for (i = COLDESC_IDX_SEM_FIRST; i <= COLDESC_IDX_SEM_LAST; i++) fprintf(out, " %14s %s\n", coldescs[i].name, _(coldescs[i].help)); @@ -716,7 +716,7 @@ static void do_sem_global(struct libscols_table *tb) } global_set_data(tb, "SEMMNS", _("Total number of semaphores"), nsems, lim.semmns); - global_set_data(tb, "SEMMNI", _("Number of Semaphore IDs"), nsets, lim.semmni); + global_set_data(tb, "SEMMNI", _("Number of semaphore IDs"), nsets, lim.semmni); } static void do_msg(int id, struct lsipc_control *ctl, struct libscols_table *tb) @@ -1266,7 +1266,7 @@ int main(int argc, char *argv[]) if (msg + shm + sem == 0) { msg = shm = sem = global = 1; if (show_time || show_creat || id != -1) - errx(EXIT_FAILURE, _("the --global is mutually exclusive with --creator, --id and --time")); + errx(EXIT_FAILURE, _("--global is mutually exclusive with --creator, --id and --time")); } if (global) { add_column(columns, ncolumns++, COL_RESOURCE); |