git: b6bcef4b7713 - stable/13 - ifconfig.8: Mark address_family as optional in synopsis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jun 2022 08:19:30 UTC
The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=b6bcef4b77131a33ad5308c631831aa2260522b1 commit b6bcef4b77131a33ad5308c631831aa2260522b1 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-03-31 09:40:24 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-29 08:15:12 +0000 ifconfig.8: Mark address_family as optional in synopsis Commands like "ifconfig wlan0 up" are valid. There is no need to always specify the address family. MFC after: 2 weeks (cherry picked from commit 2cd28d6f9b5aae87e647cb8eab015e8249d97aa8) --- sbin/ifconfig/ifconfig.8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index f039cd0c855d..2a76b9bc03b2 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -40,11 +40,13 @@ .Op Fl f Ar type Ns Cm \&: Ns Ar format .Ar interface .Op Cm create +.Oo .Ar address_family .Oo .Ar address .Op Ar dest_address .Oc +.Oc .Op Ar parameters .Nm .Ar interface