Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2022 14:36:23 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1a5bc3f7355b - stable/13 - ifconfig.8: Improve -f synopsis
Message-ID:  <202204121436.23CEaNCi039034@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=1a5bc3f7355bde0c359ad2cb83c881057e2e7405

commit 1a5bc3f7355bde0c359ad2cb83c881057e2e7405
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-03-29 17:32:32 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-04-12 14:35:51 +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
    
    (cherry picked from commit 52ec8807d8b3a59b7497a3aa94952c7ad4b162bd)
---
 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 59dd7708276b..ba979ec6485a 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204121436.23CEaNCi039034>