zsh-workers
 help / color / mirror / code / Atom feed
From: Shohei YOSHIDA <syohex@gmail.com>
To: zsh-workers@zsh.org
Cc: Shohei YOSHIDA <syohex@gmail.com>
Subject: [PATCH 2/2] Update pydoc for version 3.11
Date: Wed, 25 Jan 2023 14:48:39 +0900	[thread overview]
Message-ID: <20230125054839.283644-3-syohex@gmail.com> (raw)
In-Reply-To: <20230125054839.283644-1-syohex@gmail.com>

---
 Completion/Unix/Command/_pydoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Completion/Unix/Command/_pydoc b/Completion/Unix/Command/_pydoc
index 677c96ad6..626c528cd 100644
--- a/Completion/Unix/Command/_pydoc
+++ b/Completion/Unix/Command/_pydoc
@@ -6,13 +6,14 @@ local -a args
 
 args=(
   '(- *)-k[search keyword]:keyword'
-  '(-k -g -w *)-p[start web server on specified port]:port number'
+  '(-k -g -w)-p[start web server on specified port]:port number'
   '(-)-w[write out HTML in current directory]'
   '(-)*: :->lookup'
 )
 
 if _pick_variant pydoc3='pydoc3 -b' pydoc2 -h; then
-  args+=( '(-k -w *)-b[start server and open browser]' )
+  args+=( '(-k -w)-b[start server and open browser]' )
+  args+=( '(-k -w)-n[start web server with the given hostname]:hostname' )
 else
   args+=( '(- *)-g[start gui]' )
 fi
-- 
2.37.2



      parent reply	other threads:[~2023-01-25  5:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-25  5:48 [PATCH 0/2] Update python and pydoc completions " Shohei YOSHIDA
2023-01-25  5:48 ` [PATCH 1/2] Update python3 completion " Shohei YOSHIDA
2023-01-27 18:33   ` Daniel Shahaf
2023-01-25  5:48 ` Shohei YOSHIDA [this message]

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=20230125054839.283644-3-syohex@gmail.com \
    --to=syohex@gmail.com \
    --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).