[darcs-users] darcs mv on files starting with "-"

Tommy Pettersson ptp at lysator.liu.se
Fri May 6 14:04:47 UTC 2005


On Fri, May 06, 2005 at 03:42:23PM +0200, Daan Leijen wrote:
> Tommy Pettersson wrote:
> 
>     On Fri, May 06, 2005 at 03:31:29PM +0200, Daan Leijen wrote:
>       
>    
>         Hi all,
>         
>         I am trying to move a directory that starts with a "-" sign:
>             
>    
>     darcs mv -- -t t
>     
>     The -- makes all following arguments "arguments" (non-options).
>       
> 
> Hmm, it doesn't work for me (neither on the windows, or bash
> command prompt). I use the 29 april 2005 build of darcs.
> Should darcs be doing this or is it a shell thing?

It's not the shell.  I think it's a library thing, some sort of
getopt.  If darcs did it internally it would work for you too.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list