diff options
Diffstat (limited to 'term-utils')
-rw-r--r-- | term-utils/agetty.c | 4 | ||||
-rw-r--r-- | term-utils/mesg.c | 4 | ||||
-rw-r--r-- | term-utils/script.c | 3 | ||||
-rw-r--r-- | term-utils/scriptreplay.c | 3 | ||||
-rw-r--r-- | term-utils/setterm.c | 4 | ||||
-rw-r--r-- | term-utils/wall.c | 4 | ||||
-rw-r--r-- | term-utils/write.c | 3 |
7 files changed, 25 insertions, 0 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 9871a3685..2ac0644df 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1982,6 +1982,10 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(USAGE_HEADER, out); fprintf(out, _(" %1$s [options] <line> [<baud_rate>,...] [<termtype>]\n" " %1$s [options] <baud_rate>,... <line> [<termtype>]\n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Open a terminal and set its mode.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -8, --8bits assume 8-bit tty\n"), out); fputs(_(" -a, --autologin <user> login the specified user automatically\n"), out); diff --git a/term-utils/mesg.c b/term-utils/mesg.c index 12e4e0e8c..a3892871c 100644 --- a/term-utils/mesg.c +++ b/term-utils/mesg.c @@ -73,6 +73,10 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) * which means they can be translated. */ fprintf(out, _(" %s [options] [y | n]\n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Control write access of other users to your terminal.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -v, --verbose explain what is being done\n"), out); fputs(USAGE_HELP, out); diff --git a/term-utils/script.c b/term-utils/script.c index 78d7a3049..548334cbc 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -143,6 +143,9 @@ usage(FILE *out) fprintf(out, _(" %s [options] [file]\n"), program_invocation_short_name); + fputs(USAGE_SEPARATOR, out); + fputs(_("Make a typescript of a terminal session.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -a, --append append the output\n" " -c, --command <command> run command rather than interactive shell\n" diff --git a/term-utils/scriptreplay.c b/term-utils/scriptreplay.c index fb5ded31e..172466339 100644 --- a/term-utils/scriptreplay.c +++ b/term-utils/scriptreplay.c @@ -42,6 +42,9 @@ usage(FILE *out) _(" %s [-t] timingfile [typescript] [divisor]\n"), program_invocation_short_name); + fputs(USAGE_SEPARATOR, out); + fputs(_("Play back terminal typescripts, using timing information.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -t, --timing <file> script timing output file\n" " -s, --typescript <file> script terminal session output file\n" diff --git a/term-utils/setterm.c b/term-utils/setterm.c index fefb0a9d1..76fedbae4 100644 --- a/term-utils/setterm.c +++ b/term-utils/setterm.c @@ -402,6 +402,10 @@ static void __attribute__((__noreturn__)) usage(FILE *out) fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options]\n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Set the attributes of a terminal.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" --term <terminal_name> override TERM environment variable\n"), out); fputs(_(" --reset reset terminal to power-on state\n"), out); diff --git a/term-utils/wall.c b/term-utils/wall.c index 598e9f28c..387594cef 100644 --- a/term-utils/wall.c +++ b/term-utils/wall.c @@ -81,6 +81,10 @@ static void __attribute__((__noreturn__)) usage(FILE *out) fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] [<file> | <message>]\n"), program_invocation_short_name); + + fputs(USAGE_SEPARATOR, out); + fputs(_("Write a message to all users.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -n, --nobanner do not print banner, works only for root\n"), out); fputs(_(" -t, --timeout <timeout> write timeout in seconds\n"), out); diff --git a/term-utils/write.c b/term-utils/write.c index ca40354f7..238040be2 100644 --- a/term-utils/write.c +++ b/term-utils/write.c @@ -82,6 +82,9 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) _(" %s [options] <user> [<ttyname>]\n"), program_invocation_short_name); + fputs(USAGE_SEPARATOR, out); + fputs(_("Send a message to another user.\n"), out); + fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); |