Potential Doc Mistake

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Apr 10 17:08:15 UTC 2014


Brad Fleming <bdflemin at gmail.com> writes:

> I think this document might have  syntax error:
> https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
>
> Under "23.2.3.2. Performing the Upgrade” the first command listed is:
> "freebsd-update -r 9.1-RELEASE upgrade”
> but I believe the proper command should be:
> "freebsd-update upgrade -r 9.1-RELEASE”
> (the “upgrade” is in the wrong place)
>
> I could certainly be wrong but the second command is what’s referenced
> in other documents and was required for me to move from 9.2 to 10.0.

The manual page actually lists options before the subcommand. A quick
look at the source makes me think that either order is fine.


More information about the freebsd-questions mailing list