From owner-freebsd-stable@freebsd.org Mon Aug 24 14:01:37 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AD9A9C2613 for ; Mon, 24 Aug 2015 14:01:37 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7784F1E0A for ; Mon, 24 Aug 2015 14:01:37 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 7692B9C2612; Mon, 24 Aug 2015 14:01:37 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 762539C2611 for ; Mon, 24 Aug 2015 14:01:37 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D4B61E08 for ; Mon, 24 Aug 2015 14:01:37 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by widdq5 with SMTP id dq5so51348884wid.1 for ; Mon, 24 Aug 2015 07:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=sEqVkBVLzXCAf/K53hUGIYmA8H+dYOM0XSBcuhc9e5o=; b=frvK2/gXLdf/mGcGvt74jBgSCHBZrv0Zkqy+3wUgYLKkdgm8DuQqNKYVyUTL7BOKNS UoOzesZ9AkSh42vafLAWqDgYnHzvtKkl5zqJqWxB6GkmW4CP/uS5nXx9VDREgu+6167z 1pGQO5+ty91gB4NvnmDWB1Md2DUj4kZly3PYSK5xeIVEUfSwOz5YfX3IfCgtL5lcBAeN 2odmNvXoACbKY+7luTPogunIK6nMdKdpDFjcKbZI272XeFqJom8GwqZok3cXKLRU3Tx5 JsR/Lr0d+pSrHabP4Yj+EBliLZxHAvbjcXaLD705ZqSEY2fGnaIqh8dUHuL9FFo/cvmF gEFA== X-Received: by 10.180.81.100 with SMTP id z4mr29290387wix.8.1440424895511; Mon, 24 Aug 2015 07:01:35 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id ev2sm16354103wib.21.2015.08.24.07.01.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 07:01:34 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 24 Aug 2015 16:01:33 +0200 From: Baptiste Daroussin To: Willem Jan Withagen Cc: "stable@freebsd.org" Subject: Re: regression from previous version of pw Message-ID: <20150824140133.GG93486@ivaldir.etoilebsd.net> References: <55DB2100.4070304@digiware.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7lMq7vMTJT4tNk0a" Content-Disposition: inline In-Reply-To: <55DB2100.4070304@digiware.nl> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 14:01:37 -0000 --7lMq7vMTJT4tNk0a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2015 at 03:49:52PM +0200, Willem Jan Withagen wrote: > Hi, >=20 > In the previous version before Bapt upgraded pw(8) I was allowed to do > pw useradd -V /etc >=20 > Even though the manual page instructed otherwise. >=20 > The new version sticks to the manual page and generates: > pw: illegal option -- V >=20 > I'm going to change the scripts, but perhaps others will be bitten too. > Up to Bapt to decide what to do with this. The code has been changed to respect what the manual and the help output was showing: -V should be passed before the subcommand The reason for this is was to make the code more easily maintenable and understandable. if really that is too painful I can allow again -V to be also passed after = the subcommand but at the price of complicating the code. Best regards, Bapt --7lMq7vMTJT4tNk0a Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlXbI70ACgkQ8kTtMUmk6EwWpwCggZ8DU5zLdzfdccMyfprMaf04 RNMAnR9lq+vcYDxhTnbO0OSVRcj28PEi =/u67 -----END PGP SIGNATURE----- --7lMq7vMTJT4tNk0a--