Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: 3.1.6-pws-3: sessions for zftp
- X-seq: zsh-workers 7768
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Peter Stephenson" <pws@xxxxxx>, "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: 3.1.6-pws-3: sessions for zftp
- Date: Fri, 10 Sep 1999 18:03:11 +0400
- Importance: Normal
- In-reply-to: <199909101354.PAA10698@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> I made the functions use getopts for brevity, but there's still a problem
> even after the last patch: something like `zfget -G - ...' isn't recognised
> as terminating option processing, for which you need `zfget -G -- ...'; the
> - is treated as an argument. I left this because it seems ksh behaves the
> same way.
>
That is correct. The option terminator is `--'. Single `-' never was officially
approved by current Unix standards (even when used in this way). I'd like, that
our completion functions used `--' instead of `-' consistently as well.
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author