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: Bug Goo
Subject: Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argument
Date: Sat, 11 Sep 2004 19:55:01 +0000

Created as bug 181

On Sat Sep 11 11:20:29 2004, 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.
> 
> References:
> 
> http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
> Guideline 10
> 
> http://www.opengroup.org/onlinepubs/009695399/utilities/getopts.html
> 
> http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
> OPTIONS
> 
> You have to register in order to see the online documents:
> http://www.opengroup.org/online-pubs?DOC=009695399&FORM=HTML
> See http://www.opengroup.org/onlinepubs/terms.htm
> 
> Regards
> 




reply via email to

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