svn commit: r296339 - head/usr.sbin/daemon

Maxim Konovalov maxim at FreeBSD.org
Thu Mar 3 07:07:45 UTC 2016


Author: maxim
Date: Thu Mar  3 07:07:44 2016
New Revision: 296339
URL: https://svnweb.freebsd.org/changeset/base/296339

Log:
  o -t comman line option added to the usage().

Modified:
  head/usr.sbin/daemon/daemon.c

Modified: head/usr.sbin/daemon/daemon.c
==============================================================================
--- head/usr.sbin/daemon/daemon.c	Thu Mar  3 06:37:17 2016	(r296338)
+++ head/usr.sbin/daemon/daemon.c	Thu Mar  3 07:07:44 2016	(r296339)
@@ -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);
 }


More information about the svn-src-all mailing list