zsh-workers
 help / color / mirror / code / Atom feed
From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: [PATH] fix typo in _ssh
Date: Mon, 17 Apr 2023 11:24:15 +0900	[thread overview]
Message-ID: <93D8863D-A4DD-48A2-9619-9191B5033F14@kba.biglobe.ne.jp> (raw)

% scp <TAB>
_arguments:comparguments:327: invalid rest argument definition: *(-O)-X+[specify ...



diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
index e9ca454b4..fd2a90b59 100644
--- a/Completion/Unix/Command/_ssh
+++ b/Completion/Unix/Command/_ssh
@@ -27,7 +27,7 @@ _ssh () {
     '-r[recursively copy directories (follows symbolic links)]'
     '-S+[specify ssh program]:path to ssh:_command_names -e'
     '-v[verbose mode]'
-    '*(-O)-X+[specify sftp protocol option]: : _values "sftp option"
+    '(-O)*-X+[specify sftp protocol option]: : _values "sftp option"
       "nrequests[set max concurrent SFTP read or write requests]\:requests [64]"
       "buffer[set max buffer size for a single SFTP read/write operation]\: \:_numbers -l 0 -m 256K -d 32K -u bytes -f size \:B\:bytes \:K\:kilobytes"'
   )




                 reply	other threads:[~2023-04-17  2:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93D8863D-A4DD-48A2-9619-9191B5033F14@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).