From b5622b71b112405a0eabdf0d57f0e498e1c71be8 Mon Sep 17 00:00:00 2001 From: maxim Date: Thu, 3 Mar 2016 07:07:44 +0000 Subject: [PATCH] o -t comman line option added to the usage(). --- usr.sbin/daemon/daemon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index bd2f2722a0d7..0ba7b06ee00a 100644 --- a/usr.sbin/daemon/daemon.c +++ b/usr.sbin/daemon/daemon.c @@ -275,8 +275,8 @@ wait_child(pid_t pid, sigset_t *mask) static void usage(void) { - (void)fprintf(stderr, - "usage: daemon [-cfr] [-p child_pidfile] [-P supervisor_pidfile] " - "[-u user]\n command arguments ...\n"); + (void)fprintf(stderr, "%s\n\t%s\n", + "usage: daemon [-cfr] [-p child_pidfile] [-P supervisor_pidfile]", + "[-t title] [-u user] command arguments ..."); exit(1); }