Bug 196327

Summary: ports-mgmt/pkg: pkg.conf(5): -y is documented yet does not work
Product: Ports & Packages Reporter: Diane Bruce <db>
Component: Individual Port(s)Assignee: freebsd-pkg (Nobody) <pkg>
Status: Closed Not A Bug    
Severity: Affects Some People CC: bapt, grahamperrin, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Diane Bruce freebsd_committer freebsd_triage 2014-12-28 14:34:30 UTC
man 5 pkg.conf 

documents ASSUME_ALWAYS_YES: boolean
"as if it the -y flag was specified.  Default: NO."

pkg -y
pkg: illegal option -- y

It would be convenient if the -y option was functional.
Comment 1 Diane Bruce freebsd_committer freebsd_triage 2014-12-28 15:32:21 UTC
(In reply to Diane Bruce from comment #0)
> man 5 pkg.conf 
> 
> documents ASSUME_ALWAYS_YES: boolean
> "as if it the -y flag was specified.  Default: NO."
> 
> pkg -y
> pkg: illegal option -- y
> 
> It would be convenient if the -y option was functional.


It should be "pkg install -y" so that makes this a documentation bug now. I found the man page for pkg.conf confusing.
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-01-11 18:44:44 UTC
No maintainer feedback  till now!
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2019-02-02 08:08:17 UTC
Change the _Product_ to _Documentation_?

Compare with bug 235369
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2021-08-18 07:56:24 UTC
Diane replied herself to the bug with the proper response. patch for the manpage welcome if one knows a better wording.