From owner-svn-src-head@freebsd.org Thu Mar 3 07:07:45 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8BFA0AC2D6D; Thu, 3 Mar 2016 07:07:45 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5ACBB18E7; Thu, 3 Mar 2016 07:07:45 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2377iBu033787; Thu, 3 Mar 2016 07:07:44 GMT (envelope-from maxim@FreeBSD.org) Received: (from maxim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2377ifY033786; Thu, 3 Mar 2016 07:07:44 GMT (envelope-from maxim@FreeBSD.org) Message-Id: <201603030707.u2377ifY033786@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: maxim set sender to maxim@FreeBSD.org using -f From: Maxim Konovalov Date: Thu, 3 Mar 2016 07:07:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296339 - head/usr.sbin/daemon X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 07:07:45 -0000 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); }