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

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

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


From: Yann Droneaud
Subject: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argument
Date: Sat, 11 Sep 2004 12:29:26 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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

-- 
Yann Droneaud (aka Meuh) <address@hidden>
http://meuh.org/ | http://sherkan.tuxfamily.net/~meuh/
Une vache perdue sur Internet | A cow lost in the Internet
1024D/BEA43321   5D91 B5B0 5137 B8FE 6882  FE19 CAA0 6F05 BEA4 3321




reply via email to

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