Created attachment 205047 [details] patch Current documentation implies that -F works as a standalone flag, when in reality it needs to be bundled with -a. Simple patch attached to clarify that -F is for use with -a.
A commit references this bug: Author: bcr Date: Tue May 19 12:16:44 UTC 2020 New revision: 361250 URL: https://svnweb.freebsd.org/changeset/base/361250 Log: The -F flag of swapon(8) requires -a to work. Before this change, swapon(8) implied that -F works as a standalone option, which is not the case and would produce a usage message. This change extends the description of the -F option to mention that -a is required with it. PR: 238551 Submitted by: Christian Baltini MFC after: 5 days Changes: head/sbin/swapon/swapon.8
I've committed a modified version of your patch. Waiting for the MFC timeout...
A commit references this bug: Author: bcr Date: Sun May 24 10:19:27 UTC 2020 New revision: 361433 URL: https://svnweb.freebsd.org/changeset/base/361433 Log: MFC r361250: The -F flag of swapon(8) requires -a to work. Before this change, swapon(8) implied that -F works as a standalone option, which is not the case and would produce a usage message. This change extends the description of the -F option to mention that -a is required with it. PR: 238551 Submitted by: Christian Baltini Changes: _U stable/12/ stable/12/sbin/swapon/swapon.8
MFC is done, closing this PR now. Thanks for filing this PR.