about summary refs log tree commit diff
path: root/Completion/Unix/Command/_mosh
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-03-31 10:12:59 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-03-31 10:12:59 +0200
commit1bd2ecc17d74b6a8ffba97806cf90ef706d7411b (patch)
tree45907660ec9224697609d95d94c029dd108757af /Completion/Unix/Command/_mosh
parentb90c59e9fc75847bca3fa23c3b1a088f553aeb61 (diff)
downloadzsh-1bd2ecc17d74b6a8ffba97806cf90ef706d7411b.tar.gz
zsh-1bd2ecc17d74b6a8ffba97806cf90ef706d7411b.tar.xz
zsh-1bd2ecc17d74b6a8ffba97806cf90ef706d7411b.zip
42572: various completion option updates
Diffstat (limited to 'Completion/Unix/Command/_mosh')
-rw-r--r--Completion/Unix/Command/_mosh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_mosh b/Completion/Unix/Command/_mosh
index aa97587bb..7d1250320 100644
--- a/Completion/Unix/Command/_mosh
+++ b/Completion/Unix/Command/_mosh
@@ -12,8 +12,15 @@ _arguments -C \
   '(-a -n)--predict=[control speculative local echo]:mode:(adaptive always never)' \
   '(--predict -n)-a[synonym for --predict=always]' \
   '(--predict -a)-n[synonym for --predict=never]' \
+  '(--family -6)-4[use IPv4 only]' \
+  '(--family -4)-6[use IPv6 only]' \
+  '(-4 -6)--family=[specify address family]:family [prefer-inet]:(inet inet6 auto all prefer-inet prefer-inet6)' \
+  '--bind-server=[ask the server to reply from an IP address]:{ssh|any|IP}' \
   '--server[specify command to run server helper]:remote file:_files' \
   '--client[specify command to run client helper]:_command_names -e' \
+  "--no-ssh-pty[don't allocate a pseudo tty on ssh connection]" \
+  '--local[run mosh-server locally without using ssh]' \
+  '--experimental-remote-ip=[select method for discovering remote IP address to use for mosh]:method:(local remote proxy)' \
   '1:remote host name:->userhost' \
   '*:::args:_normal' && ret=0