[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-stow] Possible bug when overriding .stowrc options

From: Adam Spiers
Subject: Re: [Bug-stow] Possible bug when overriding .stowrc options
Date: Sun, 18 Dec 2016 22:59:54 +0000
User-agent: Mutt/1.6.2 (2016-07-01)

On Tue, Nov 29, 2016 at 02:17:32PM +0300, Jean Louis wrote:
If I have option --target /usr in .stowrc, it is a possible bug, if I
then wish to override the target with -t /usr/lib then it complains it
is not stow target.

But it is not logical that I need to delete .stowrc to be able to
operate with different targets.

I'm sorry but I can't reproduce this.  And the code seems correct,
because the contents of .stowrc are simply prepended to the list of
CLI arguments before parsing all arguments via Getopt::Long's
GetOptions() function, in which later arguments override earlier ones.

Please can you state the exact Stow version you are using, and give
the exact steps to reproduce a minimal test case?  Thanks!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]