git: 2cd28d6f9b5a - main - ifconfig.8: Mark address_family as optional in synopsis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Mar 2022 09:45:03 UTC
The branch main has been updated by 0mp (doc, ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=2cd28d6f9b5aae87e647cb8eab015e8249d97aa8
commit 2cd28d6f9b5aae87e647cb8eab015e8249d97aa8
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-03-31 09:40:24 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-03-31 09:43:18 +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
---
sbin/ifconfig/ifconfig.8 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 9c6e280dc954..2125f5e33394 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