summaryrefslogtreecommitdiffstats
path: root/term-utils
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils')
-rw-r--r--term-utils/wall.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/term-utils/wall.c b/term-utils/wall.c
index 7f7e0eab6..708982603 100644
--- a/term-utils/wall.c
+++ b/term-utils/wall.c
@@ -84,14 +84,15 @@ static void usage(FILE *out);
static void __attribute__((__noreturn__)) usage(FILE *out)
{
- fprintf(out, _("Usage: %s [options] [file]\n"),
- program_invocation_short_name);
- fprintf(out, _(
- "\nOptions:\n"
- " -n, --nobanner do not print banner, works only for root\n"
- " -t, --timeout TIMEOUT write timeout in seconds\n"
+ fputs(_("\nUsage:\n"), out);
+ fprintf(out,
+ _(" %s [options] [<file>]\n"),program_invocation_short_name);
+
+ fputs(_("\nOptions:\n"), out);
+ fputs(_(" -n, --nobanner do not print banner, works only for root\n"
+ " -t, --timeout <timeout> write timeout in seconds\n"
" -V, --version output version information and exit\n"
- " -h, --help display this help and exit\n\n"));
+ " -h, --help display this help and exit\n\n"), out);
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}