From owner-svn-src-all@freebsd.org Tue Nov 17 11:08:56 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 726022E8711; Tue, 17 Nov 2020 11:08:56 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cb3934YMMz4VYq; Tue, 17 Nov 2020 11:08:55 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-ed1-f43.google.com with SMTP id l5so21956993edq.11; Tue, 17 Nov 2020 03:08:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tf4G29hNJ1IcjMGsq50qR5tZoKPNtLZ/LBm7DjVayL0=; b=T25aJkRth3zT1ByVB6P0fbtYndAe4+InM5OxYY/g9VvAZOuhq8OsOOfemxFG/N7PSC cCN0PMANHZ3ZIHk1jaEjpoMlL+bqQAw13tmRKCjdJw9I+FFe2SibLzEzzTtmNVfhaG/r w8v5N1ynUpkd7HYioxmvtiWJwCBdi/9bRiFDxb7xY+d9SU8RW9c7RV7n1aTrI3Qga+9b TijB05euEijIhOjriS2NfkkXtJ84YD/9GAUQhg5YBj8HG59WMOi5+JaeiOLN00uAjvjZ GbEL18h7BL7dxHLj2zfTI9zjJ9TnAuxuFhffK/DNXKjYDQ7Qu4dcekLYr/e66RUNkU+b 2RTQ== X-Gm-Message-State: AOAM532zSrArxjy1tQ+oTVpSnhKeNU6qzDLAVY4gyw9HeRW2aGpPCSMJ PzkjGfAZPEBj69sVu2JizmziXRrnVXY= X-Google-Smtp-Source: ABdhPJwX8Wfdrrdt0x7P9E8UkZkrTeZ56UYVa6x2KU986ivm4WuNvz5Xf/FEAXv0SiqrNqNP03yEXw== X-Received: by 2002:a50:eb96:: with SMTP id y22mr20783351edr.116.1605611333256; Tue, 17 Nov 2020 03:08:53 -0800 (PST) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id lf18sm8624078ejb.74.2020.11.17.03.08.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Nov 2020 03:08:52 -0800 (PST) Subject: Re: svn commit: r367756 - head/usr.bin/chpass From: Mateusz Piotrowski <0mp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <202011171048.0AHAm1nq074209@repo.freebsd.org> Message-ID: Date: Tue, 17 Nov 2020 12:08:58 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 MIME-Version: 1.0 In-Reply-To: <202011171048.0AHAm1nq074209@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4Cb3934YMMz4VYq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.208.43 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-2.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.08)[-0.083]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.208.43:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; SPAMHAUS_ZRD(0.00)[209.85.208.43:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.43:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.43:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[svn-src-head,svn-src-all] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2020 11:08:56 -0000 On 11/17/20 11:48 AM, Mateusz Piotrowski wrote: > Author: 0mp (doc,ports committer) > Date: Tue Nov 17 10:48:01 2020 > New Revision: 367756 > URL: https://svnweb.freebsd.org/changeset/base/367756 > > Log: > Clean up the synopsis section & fix mandoc warnings > > The synopsis section had two very similar entries. The flags documented by > the first one were a strict subset of the second one. Let's just keep only > the second entry for simplicity. Uh, I think I get it now. The simpler one was referring to the chpass, while one second one was documenting ypchpass (passwd(1) has a similar synopsis). I guess I'll bring back both entries and will use "Nm ypchpass" for the entry listing NIS-specific flags. > MFC after: 1 week > > Modified: > head/usr.bin/chpass/chpass.1 > > Modified: head/usr.bin/chpass/chpass.1 > ============================================================================== > --- head/usr.bin/chpass/chpass.1 Tue Nov 17 10:27:42 2020 (r367755) > +++ head/usr.bin/chpass/chpass.1 Tue Nov 17 10:48:01 2020 (r367756) > @@ -28,7 +28,7 @@ > .\" @(#)chpass.1 8.2 (Berkeley) 12/30/93 > .\" $FreeBSD$ > .\" > -.Dd December 30, 1993 > +.Dd November 17, 2020 > .Dt CHPASS 1 > .Os > .Sh NAME > @@ -41,19 +41,13 @@ > .Nd add or change user database information > .Sh SYNOPSIS > .Nm > +.Op Fl loy > .Op Fl a Ar list > -.Op Fl p Ar encpass > +.Op Fl d Ar domain > .Op Fl e Ar expiretime > -.Op Fl s Ar newshell > -.Op user > -.Nm > -.Op Fl oly > -.Op Fl a Ar list > +.Op Fl h Ar host > .Op Fl p Ar encpass > -.Op Fl e Ar expiretime > .Op Fl s Ar newshell > -.Op Fl d Ar domain > -.Op Fl h Ar host > .Op user > .Sh DESCRIPTION > The > @@ -216,7 +210,7 @@ Note that > .Xr finger 1 > will display the office location and office phone together under the > heading > -.Ar Office: . > +.Ar Office\&: . > .Pp > The user's > .Ar home directory > @@ -313,7 +307,7 @@ changing other fields could be added, this would lead > compatibility problems with other NIS-capable systems. > Even though the super-user may supply data for other fields > while editing an entry, the extra information (other than the > -password -- see below) will be silently discarded. > +password \(em see below) will be silently discarded. > .Pp > Exception: the super-user on the NIS master server is permitted to > change any field.