Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/2] Update pydoc for version 3.11
- X-seq: zsh-workers 51331
- From: Shohei YOSHIDA <syohex@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Shohei YOSHIDA <syohex@xxxxxxxxx>
- Subject: [PATCH 2/2] Update pydoc for version 3.11
- Date: Wed, 25 Jan 2023 14:48:39 +0900
- Archived-at: <https://zsh.org/workers/51331>
- In-reply-to: <20230125054839.283644-1-syohex@gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author