From nobody Thu Mar 31 09:45:03 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 388DD1A4CC30; Thu, 31 Mar 2022 09:45:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KTdgz5269z4rhM; Thu, 31 Mar 2022 09:45:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648719903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CGZtP1YUVwd+jJ3oyVB8/RoMrVmKXl+0xvOY3qyQhmI=; b=okR8evWTrvmyCYK8tcsaTlpwbEgKpq3J/E5nG53zR5bgKTyw5UUwtiplvesySpvWcZXRGK R1fRRPFH02Kr0I0aNBlj2aSAAMWnF+DSFhOLtRGEfboE02WkKXTjPMZtYV88VIJqBWJ1Ss 2qZNkNZF3jHmyXhqGvBPa2+f42c2nXx31krhCkEsmcHXso8qNU8kG3+Hqn3CgtHGlbg0IS PSZPodYhTHBLxo6VFIx7/3SMbLr40AL0dRTHF4ax2OvyXNajbp2Q1++8COUS0OTWJS230d 5HEaKdVeOEiFFvJaV0PLYbOJYywMZkkSear+MaXRT2rT/USump993wWCZNOxPQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2F7DE25441; Thu, 31 Mar 2022 09:45:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22V9j34v082492; Thu, 31 Mar 2022 09:45:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22V9j3Rb082491; Thu, 31 Mar 2022 09:45:03 GMT (envelope-from git) Date: Thu, 31 Mar 2022 09:45:03 GMT Message-Id: <202203310945.22V9j3Rb082491@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 2cd28d6f9b5a - main - ifconfig.8: Mark address_family as optional in synopsis List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2cd28d6f9b5aae87e647cb8eab015e8249d97aa8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648719903; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CGZtP1YUVwd+jJ3oyVB8/RoMrVmKXl+0xvOY3qyQhmI=; b=L77zupPr66HyihpiL+5cOEFubCRt11fnboRnFj8YGxvss6oBxL+E7HVtgPGamvpfG9UYUG pEkHa+Y6d5hVIuZ0AQIxY+eDg+k7LJ5nWy+tKJ1N0JcfLS7rS01BgvFviYRs/DUq8OHG2W xKSyryot9hOAH6vx12Yd4c//IKZSpMC5xR6HaVxgeXYphB2N55PKw5C1e1hDIcVGx6opMi 36v4X3LNLcK2MXIeMxKgLLXJUOUBg816T5pYmPsLeI55JYNTldvDD+MVDHAgFRSmCBZE8M PQUnQuNNg6msJU3NJrCwf1cP/auuGnIMSOYR+mNW5AjZFUW+zGm2w/iw2b8mPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648719903; a=rsa-sha256; cv=none; b=WoYO3KHjS809Y9G3fbRnX4klODMHax8GOuwF3OBW9j4UknSaLFzAFsLGeuScOSbxsAYD6F UAzbjwP0PNL24chJUV9DShOaZm0UHJ+Wa9z30Kzl88DdUUlPrI4AmidAT2NVwMEhTwlmhF PhcJt2+Dds68SXzrCsuBRZv2RC722acQwmF2hNVGhleeAm8g9xRFFBLFfJ9zeUU8giHyrD vkqXEmzvAkjag+inwW9pzcD5MqfY1stVDcrgjyHzHXHKAs76c2yTS2XrLf0D3exJgqo5LV r89xKAI1+STUSwn4zgvZJGKuaOmlv4KHEiMSjvlT049xa9Jo56oM3eLB/PJ+sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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