From 9076f99b9bb4943944e3bf0669ed9f48b3ac2278 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Wed, 30 Mar 2022 13:41:20 +0200 Subject: [PATCH] ifconfig.8: Clean up -k documentation MFC after: 2 weeks --- sbin/ifconfig/ifconfig.8 | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 44551932f150..cf893cbaedcf 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -206,6 +206,17 @@ Only one option should be specified as later override previous ones .Ar groupname may contain shell patterns in which case it should be quoted. +.It Fl k +Print keying information for the +.Ar interface , +if available. +.Pp +For example, the values of 802.11 WEP keys and +.Xr carp 4 +passphrases will be printed, if accessible to the current user. +.Pp +This information is not printed by default, as it may be considered +sensitive. .It Fl L Display address lifetime for IPv6 addresses as time offset string. .It Fl l @@ -345,16 +356,6 @@ When no arguments are given, .Fl a is implied. .Pp -The -.Fl k -flag causes keying information for the interface, if available, to be -printed. -For example, the values of 802.11 WEP keys and -.Xr carp 4 -passphrases will be printed, if accessible to the current user. -This information is not printed by default, as it may be considered -sensitive. -.Pp If the network interface driver is not present in the kernel then .Nm will attempt to load it.