Bug 196327 - ports-mgmt/pkg: pkg.conf(5): -y is documented yet does not work
Summary: ports-mgmt/pkg: pkg.conf(5): -y is documented yet does not work
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-28 14:34 UTC by Diane Bruce
Modified: 2021-08-18 07:56 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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.