Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: PATCH: 3.1.6-pws-3: sessions for zftp



>
> 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