git: 52ec8807d8b3 - main - ifconfig.8: Improve -f synopsis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Mar 2022 17:41:23 UTC
The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=52ec8807d8b3a59b7497a3aa94952c7ad4b162bd commit 52ec8807d8b3a59b7497a3aa94952c7ad4b162bd Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-29 17:32:32 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-03-29 17:32:32 +0000 ifconfig.8: Improve -f synopsis - There is no need to mention in the synopsis that -f can be a list of comma-separated type:format pairs. Let's keep it simple instead. - Mention that -f can be supplied multiple times. - Add -f to other entries in the synopsis where it can be used. MFC after: 2 weeks --- sbin/ifconfig/ifconfig.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index cab73716c248..7ea16eefa7f3 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -37,7 +37,7 @@ .Sh SYNOPSIS .Nm .Op Fl kLmn -.Op Fl f Ar type Ns Cm \&: Ns Ar format Ns Op Cm \&, Ns Ar type Ns Cm \& : Ns Ar format ... +.Op Fl f Ar type Ns Cm \&: Ns Ar format .Ar interface .Op Cm create .Ar address_family @@ -52,6 +52,7 @@ .Nm .Fl a .Op Fl dLmuv +.Op Fl f Ar type Ns Cm \&: Ns Ar format .Op Fl G Ar groupname .Op Fl g Ar groupname .Op Ar address_family @@ -65,6 +66,7 @@ .Op Ar address_family .Nm .Op Fl dkLmuv +.Op Fl f Ar type Ns Cm \&: Ns Ar format .Sh DESCRIPTION The .Nm @@ -195,6 +197,9 @@ environment variable. The format is specified as a comma separated list of .Sy type:format pairs. +The +.Fl f +flag can be supplied multiple times. See the .Sx EXAMPLES section for more information.