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

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

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


From: Mikhael Goikhman
Subject: Re: [Gnu-arch-users] Re: [BUG] tla dosen't handle '--' as end of option argument
Date: Mon, 13 Sep 2004 03:44:42 +0000
User-agent: Mutt/1.4.2.1i

On 13 Sep 2004 10:59:38 +0900, Miles Bader wrote:
> 
> Mikhael Goikhman <address@hidden> writes:
> > Here is a suggestion that requires even less typing and still preserves
> > "--" for its intended POSIX meaning.
> >
> > Use "-" to cut the list of certain positional parameters. Like:
> >
> >   tla undo - file1 file2
> 
> This is a good example of a syntax that requires less typing (though not
> usefully so), but is more confusing.

It is actually hard to be more confusing than "--" in tla commands.

For commands working with individual tree files the syntax may be simply:

  tla undo [options] [files]
  tla commit [options] [files]
  tla changes [options] [files]
  tla inventory [options] [dirs]

where "-r revision" and "-v version" are options. Using non-tree revision
or version is rare in these commands. This is also the cvs/svn syntax.

If you worry about consistency with other commands, see file-diff and
file-find as counter examples (they would use "-r revision" too).

Regards,
Mikhael.




reply via email to

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