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: Miles Bader
Subject: Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argument
Date: Sun, 12 Sep 2004 08:47:32 -0400
User-agent: Mutt/1.3.28i

On Sun, Sep 12, 2004 at 02:30:12PM +0200, Yann Droneaud wrote:
> 'tla undo' is not equivalent to 'tla undo --', in fact the latter does
> not work at all, the '--' command switch require argument : '--' change
> the behavior of the command instead of changing only the command line
> parsing.

`--' is not a argument-consuming switch in tla.

It might be nice if commands that currently use form `tla CMD X Y -- F...'
would also work if you said `tla CMD X Y F...' (and actually if IIRC, some
do), but it's frankly not very important (and in practice not any more
convenient, as the `--' often allows one to omit non-filename arguments).

IMHO, the current syntax could be made slightly more regular in places (such
as consistently making `--' optional when all preceding arguments are
supplied), but it's essentially just fine.  It's slightly different than
posix `--' in details, but it's actually quite close in spirit, and doesn't
differ in any way that will cause problems for users, or seem strange to
them.

-Miles
-- 
Quidquid latine dictum sit, altum viditur.




reply via email to

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