the freebsd-update script has an option, -v, which sets a verbosity level. It is not documented on the man page. It also has aliases --debug and --no-stats which are not documented. How-To-Repeat: man freebsd-update view /usr/sbin/freebsd-update about line 440
Responsible Changed From-To: freebsd-doc->cperciva Over to maintainer. Colin, can you provide a patch for the man page? Thanks!
--debug and --no-stats are undocumented by design it seems. On Line 34, it says "Usage instructions. Options not listed:" These options can also be configurable by "VerboseLevel" in the config file however it's not documented in there also.
Created attachment 201239 [details] Manpage documentation for -v and aliases Here's a patch for the manpage and help text to include verbosity options. Additionally, default settings and description of "VerbosityLevel" is described and documented in the configuration file.
Hello Gerald, glad you're taking this on. There seems to be at least one instance to fix in the man page. First, run "mandoc -Tlint" on it for the markup. Then, install textproc/igor and let it run over your patched file. It will perform a few checks and tell you where to fix things in the code.
Created attachment 201245 [details] Manpage documentation for -v and aliases Updated to pass `igor` and `mandoc -Tlint`. Required some changes to code I didn't add.
Created attachment 201246 [details] Manpage documentation for -v and aliases Fix backwards patch.
Created attachment 201247 [details] Manpage documentation for -v and aliases Remove other changes from patch ...
A commit references this bug: Author: emaste Date: Fri Jan 18 18:22:47 UTC 2019 New revision: 343153 URL: https://svnweb.freebsd.org/changeset/base/343153 Log: freebsd-update.8: mandoc -Tlint fixes PR: 185389 Reported by: bcr MFC after: 3 days Sponsored by: The FreeBSD Foundation Changes: head/usr.sbin/freebsd-update/freebsd-update.8
A commit references this bug: Author: emaste Date: Mon Jan 21 18:34:33 UTC 2019 New revision: 343266 URL: https://svnweb.freebsd.org/changeset/base/343266 Log: MFC r343153: freebsd-update.8: mandoc -Tlint fixes PR: 185389 Changes: _U stable/12/ stable/12/usr.sbin/freebsd-update/freebsd-update.8
A commit references this bug: Author: emaste Date: Mon Jan 21 18:35:40 UTC 2019 New revision: 343267 URL: https://svnweb.freebsd.org/changeset/base/343267 Log: MFC r343153: freebsd-update.8: mandoc -Tlint fixes PR: 185389 Changes: _U stable/11/ stable/11/usr.sbin/freebsd-update/freebsd-update.8
Created attachment 201318 [details] Manpage documentation for -v and aliases Rebase to no longer include committed manpage fixes.
Can we close this one now that there is a committed fix?
Set PR state to closed as all the necessary commits have been done a while ago.