Bug 225441

Summary: daemon(8) inconsistent option flag in SYNOPSIS and DESCRIPTION for syslog_facility
Product: Documentation Reporter: Kunhui Lin <hk>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me CC: gonzo, maxim
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Kunhui Lin 2018-01-25 03:53:01 UTC
SYNOPSIS section of daemon(8) says using -s syslog_utility to specify syslog utility while DESCRIPTION section says -l syslog_utility. ALSO '-s'. Also -s option flag is taken by for specifying syslog_priority.
Comment 1 Kunhui Lin 2018-01-25 03:58:30 UTC
SYNOPSIS section of daemon(8) says using -s syslog_utility to specify syslog utility while DESCRIPTION section says -l syslog_utility. And -s option flag is already taken for specifying syslog_priority.
Comment 2 Maxim Konovalov freebsd_committer freebsd_triage 2018-01-25 15:45:13 UTC
Hello,

it looks like obvious typo. 

Does the following patch look ok for you?

Index: daemon.8
===================================================================
--- daemon.8	(revision 328399)
+++ daemon.8	(working copy)
@@ -43,7 +43,7 @@
 .Op Fl o Ar output_file
 .Op Fl s Ar syslog_priority
 .Op Fl T Ar syslog_tag
-.Op Fl s Ar syslog_facility
+.Op Fl l Ar syslog_facility
 .Ar command arguments ...
 .Sh DESCRIPTION
 The
Comment 3 Kunhui Lin 2018-01-26 06:17:53 UTC
(In reply to Maxim Konovalov from comment #2)
Thank you.
You are right it is just a typo.
The title is improper.
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-01-26 08:53:13 UTC
A commit references this bug:

Author: maxim
Date: Fri Jan 26 08:52:28 UTC 2018
New revision: 328434
URL: https://svnweb.freebsd.org/changeset/base/328434

Log:
  o A command line flag for the syslog_facility fixed in the SYNOPSIS.

  PR:		225441

Changes:
  head/usr.sbin/daemon/daemon.8
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-04-09 05:44:17 UTC
A commit references this bug:

Author: gonzo
Date: Mon Apr  9 05:43:30 UTC 2018
New revision: 332316
URL: https://svnweb.freebsd.org/changeset/base/332316

Log:
  MFC r328434 by maxim:

  o A command line flag for the syslog_facility fixed in the SYNOPSIS.

  PR:		225441

Changes:
_U  stable/11/
  stable/11/usr.sbin/daemon/daemon.8