Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2015 16:01:33 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Re: regression from previous version of pw
Message-ID:  <20150824140133.GG93486@ivaldir.etoilebsd.net>
In-Reply-To: <55DB2100.4070304@digiware.nl>
References:  <55DB2100.4070304@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Aug 24, 2015 at 03:49:52PM +0200, Willem Jan Withagen wrote:
> Hi,
> 
> In the previous version before Bapt upgraded pw(8) I was allowed to do
> 	pw useradd -V /etc
> 
> Even though the manual page instructed otherwise.
> 
> The new version sticks to the manual page and generates:
> pw: illegal option -- V
> 
> 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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlXbI70ACgkQ8kTtMUmk6EwWpwCggZ8DU5zLdzfdccMyfprMaf04
RNMAnR9lq+vcYDxhTnbO0OSVRcj28PEi
=/u67
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150824140133.GG93486>