package: piuparts
x-debbugs-cc: Agustin Henze <[email protected]>

On Tue, Mar 27, 2018 at 05:37:32PM +0200, Andreas Beckmann wrote:
> On 2018-03-27 16:44, Holger Levsen wrote:
> > So (I believe) we should introduce --keep-env (also -k) and deprecate
> > --keep-tmpdir now, but still support the latter until after the buster
> > release. 
> > 
> > Is that possible easily in a non-hackish way?
> 
> Yes!
> 
> parser.add_option("-k", "--keep-env", "--keep-tmpdir",
> 
> Note, this will set opts.keep_env instead of opts.keep_tmpdir.
> (Or maybe both, haven't tried it)
> 
> (I did this locally for
>   parser.add_option("-l", "--log-file", "--logfile",
> since I always forgot the inner dash)
> 
> You can have as many names for an option as you want :-)

thanks, Andreas.

So we first now need to do the above code changes and then deprecate
--keep-env after the buster release.

Filing a bug so we don't forget.


-- 
cheers,
        Holger

Attachment: signature.asc
Description: PGP signature

Reply via email to