gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argu


From: David Allouche
Subject: Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argument
Date: Sun, 12 Sep 2004 12:02:18 +0200

On Sat, 2004-09-11 at 12:29 +0200, Yann Droneaud wrote:
> Severity: wishlist
> 
> tla doesn't accept '--' as the end of option argument,
> so commands fails, such as 
> 
>  tla add -- file
>  tla file-diff -- file
> 
> So, even if you modify the source regexp in tagging-method,
> you can't work directly with files beginning by "-h", "-V", "-H"
> ... (but who do strange things like that ;)
> 
> As a workaround, './' or another leading path could be added in front
> of the offending file name.
> 
> The '--' argument is specified by POSIX. 
> getopt(3) recognize it, but tla, even if 'opt()' recognize it, doesn't
> handle '--' as POSIX expect it.

I am all in favour of fixing the current CLI insanity, but if you change
the command line syntax, please provide a way to let front ends and
wrappers know what syntax they can use.

-- 
                                                            -- ddaa





reply via email to

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