zsh-workers
 help / color / mirror / Atom feed
* [BUG] _gnu_generic completer produces broken output
@ 2021-07-22 19:39 Marlon Richert
  2021-07-27  3:57 ` Jun T
  2021-08-01 14:26 ` Marlon Richert
  0 siblings, 2 replies; 6+ messages in thread
From: Marlon Richert @ 2021-07-22 19:39 UTC (permalink / raw)
  To: Zsh hackers list

Fails with both 5.8 and the current master branch (commit d9e5ef020).
Looks like the same bug as workers 48091.

% autoload compinit && compinit
% compdef _gnu_generic -command- -P '*'
% pip3 -
--cache-dir
--cert
--client-cert
--disable-pip-version-check
--exists-action
--help
--isolated
--log
--no-cache-dir
--no-color
--proxy
--quiet
--retries
--timeout
--trusted-host
--verbose
--version





-h





-q



-v
-V
-- Store the cache data in <dir>.
-- Path to alternate CA bundle.
-- Path to SSL client certificate, a single file
-- Don't periodically check PyPI to determine
-- Default action when a path already exists-
-- Show help.
-- Run pip in an isolated mode, ignoring
-- Path to a verbose appending log.
-- Disable the cache.
-- Suppress colored output
-- Specify a proxy in the form
-- Give less output. Option is additive, and can be
-- Maximum number of retries each connection should
-- Set the socket timeout (default 15 seconds).
-- Mark this host as trusted, even though it does
-- Give more output. Option is additive, and can be
-- Show version and exit.
--cache-dir
--cert
--client-cert
--disable-pip-version-check
--exists-action
--help
--isolated
--log
--no-cache-dir
--no-color
--proxy
--quiet
--retries
--timeout
--trusted-host
--verbose
--version





-h





-q



-v
-V
-- Store the cache data in <dir>.
-- Path to alternate CA bundle.
-- Path to SSL client certificate, a single file
-- Don't periodically check PyPI to determine
-- Default action when a path already exists-
-- Show help.
-- Run pip in an isolated mode, ignoring
-- Path to a verbose appending log.
-- Disable the cache.
-- Suppress colored output
-- Specify a proxy in the form
-- Give less output. Option is additive, and can be
-- Maximum number of retries each connection should
-- Set the socket timeout (default 15 seconds).
-- Mark this host as trusted, even though it does
-- Give more output. Option is additive, and can be
-- Show version and exit.
--cache-dir
--cert
--client-cert
--disable-pip-version-check
--exists-action
--help
--isolated
--log
--no-cache-dir
--no-color
--proxy
--quiet
--retries
--timeout
--trusted-host
--verbose
--version





-h





-q



-v
-V
-- Store the cache data in <dir>.
-- Path to alternate CA bundle.
-- Path to SSL client certificate, a single file
-- Don't periodically check PyPI to determine
-- Default action when a path already exists-
-- Show help.
-- Run pip in an isolated mode, ignoring
-- Path to a verbose appending log.
-- Disable the cache.
-- Suppress colored output
-- Specify a proxy in the form
-- Give less output. Option is additive, and can be
-- Maximum number of retries each connection should
-- Set the socket timeout (default 15 seconds).
-- Mark this host as trusted, even though it does
-- Give more output. Option is additive, and can be
-- Show version and exit.
% pip3 -


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] _gnu_generic completer produces broken output
  2021-07-22 19:39 [BUG] _gnu_generic completer produces broken output Marlon Richert
@ 2021-07-27  3:57 ` Jun T
  2021-07-28  9:38   ` Jun T
  2021-08-01 14:26 ` Marlon Richert
  1 sibling, 1 reply; 6+ messages in thread
From: Jun T @ 2021-07-27  3:57 UTC (permalink / raw)
  To: zsh-workers


> 2021/07/23 4:39l Marlon Richert <marlon.richert@gmail.com> wrote:
> 
> Looks like the same bug as workers 48091.

It seems the problem occurs if the completion function (_gnu_generic
in this case or _typeset in workers/48091) is called more than once
during the completion. This causes _describe to be called more than once.
As noted in the comment at the top of _describe, this may generate
garbled output, but I don't know how to fix this.

In the case of _gnu_generic:

> % autoload compinit && compinit
> % compdef _gnu_generic -command- -P '*'
> % pip3 -

_complete_debug shows:

  +_normal:39> _dispatch -s pip3 pip3 /usr/local/bin/pip3 -default-

_dispatch calls _gnu_generic at line 73

   +_dispatch:73> eval _gnu_generic

for three times with service = pip3, /usr/local/bin/pip3 and -default-.

A workaround is

_gnu_generic_once () { _gnu_generic; _compskip=all }
compdef _gnu_generic_once -P '*'


The case in workers/48091 is more obscure for me:

> autoload -Uz compinit; compinit
> zstyle ':completion:*:functions' ignored-patterns '[[:punct:]]*[[:alnum:]]*'
> zstyle ':completion:*:options' matcher 'b:-=+'

First _main_complete:218 calls _complete, but it fails (returns 1); why?
Anyway _typeset is called once here.
Since _complete fails, _main_complete calls _ignored. If the ignored-patterns
style is set as above, 

 +_ignored:5> [[ _matcher_num -gt 1 || 958 -eq 0 ]]

there are many (958) ignored words and _ignored thinks it must re-generate the
words and calls _typset again.

The patch below for _typeset may be a possible workaround.


diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index aecacb112..0976d9347 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -128,7 +128,7 @@ if [[ "$state" = vars_eq ]]; then
 	args=(${args:#_*})
       fi
       _wanted functions expl 'shell function' compadd -a args
-    else
+    elif [[ $PREFIX != [-+]* ]]; then
       _functions
     fi
   elif [[ "$PREFIX" = *\=* ]]; then





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] _gnu_generic completer produces broken output
  2021-07-27  3:57 ` Jun T
@ 2021-07-28  9:38   ` Jun T
  2021-07-28 10:29     ` Mikael Magnusson
  0 siblings, 1 reply; 6+ messages in thread
From: Jun T @ 2021-07-28  9:38 UTC (permalink / raw)
  To: zsh-workers

> 2021/07/27 12:57, Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
> 
> The case in workers/48091 is more obscure for me:
> 
>> autoload -Uz compinit; compinit
>> zstyle ':completion:*:functions' ignored-patterns '[[:punct:]]*[[:alnum:]]*'
>> zstyle ':completion:*:options' matcher 'b:-=+'
> 
> First _main_complete:218 calls _complete, but it fails (returns 1); why?

It fails because _functions (the last command run in _typeset) fails,
and _functions fails because there is no functions whose name starts with '-'.
Not calling _functions when completing options (as in my previous patch)
solves the problem, but I think it would be better to correctly set the
return value of _typeset as in the patch below.

If return value is correctly set, the previous patch

-    else
+    elif [[ $PREFIX != [-+]* ]]; then

is not necessary, but I kept it because calling _functions when completing
options is just a waste of time (I assume no one would create a function whose
name starts with '-' or '+').

Also added state_descr to the list of local parameters.


diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index aecacb112..be1fc7e85 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -1,6 +1,6 @@
 #compdef autoload declare export functions integer float local readonly typeset
 
-local expl state line func i use curcontext="$curcontext"
+local expl state state_descr line func i use curcontext="$curcontext" ret=1
 local fopts="-f -k -z +k +z"
 local popts="-A -E -F -L -R -T -Z -a -g -h -H -i -l -r -x"
 local -A allargs opt_args
@@ -86,31 +86,31 @@ for ((i=1;i<=$#use;++i)); do
   args+=( ${allargs[${use[$i]}${${(s::)use[$i]}[(r)[dUurRtT]]:+$func}]} )
 done
 
-_arguments -C -s -A "-*" -S "${args[@]}" '*::vars:= ->vars_eq'
+_arguments -C -s -A "-*" -S "${args[@]}" '*::vars:= ->vars_eq' && ret=0
 
 if [[ "$state" = vars_eq ]]; then
   if [[ $func = f ]]; then
     if (( $+opt_args[+M] || ( $+opt_args[-M] && $+opt_args[-m] ) )); then
       _wanted functions expl 'math function' compadd -F line - \
-          ${${${(f)"$(functions -M)"}##*-M }%% *}
+          ${${${(f)"$(functions -M)"}##*-M }%% *} && ret=0
     elif (( $+opt_args[-M] )); then
       _arguments ':new math function:_functions' \
 	":minimum arguments${(k)opt_args[-s]:+:(1)}" \
 	":maximum arguments${(k)opt_args[-s]:+:(1)}" \
-	':shell function:_functions'
+	':shell function:_functions' && ret=0
     elif (( $+opt_args[-w] )); then
-      _wanted files expl 'zwc file' _files -g '*.zwc(-.)'
+      _wanted files expl 'zwc file' _files -g '*.zwc(-.)' && ret=0
     elif [[ $service = autoload || -n $opt_args[(i)-[uU]] ]]; then
       if [[ $PREFIX[1] = [/~] ]]; then
 	# Autoload by absolute path
-	_files
+	_files && ret=0
       else
 	  args=(${^fpath}/*(-.:t))
 	  # Filter out functions already loaded or marked for autoload.
 	  local -a funckeys
 	  funckeys=(${(k)functions})
 	  args=(${args:|funckeys})
-	  _wanted functions expl 'shell function' compadd -a args
+	  _wanted functions expl 'shell function' compadd -a args && ret=0
       fi
     elif [[ -n $onopts$offopts ]]; then
       if [[ -n $offopts ]]; then
@@ -127,22 +127,23 @@ if [[ "$state" = vars_eq ]]; then
 	[[ $PREFIX != [_.]* ]]; then
 	args=(${args:#_*})
       fi
-      _wanted functions expl 'shell function' compadd -a args
-    else
-      _functions
+      _wanted functions expl 'shell function' compadd -a args && ret=0
+    elif [[ $PREFIX != [-+]* ]]; then
+      _functions && ret=0
     fi
   elif [[ "$PREFIX" = *\=* ]]; then
     compstate[parameter]="${PREFIX%%\=*}"
     compset -P 1 '*='
-    _value
+    _value && ret=0
   elif (( $+opt_args[-a] || $+opt_args[-A] )); then
-    _parameters -q
+    _parameters -q && ret=0
   elif (( $+opt_args[-T] )); then
     _arguments \
       ':scalar parameter:_parameters -g "*scalar*" -q -S "="' \
       ':array parameter:_parameters -g "*array*"' \
-      ':separator character'
+      ':separator character' && ret=0
   else
-    _parameters -q -S '='
+    _parameters -q -S '=' && ret=0
   fi
 fi
+return ret




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] _gnu_generic completer produces broken output
  2021-07-28  9:38   ` Jun T
@ 2021-07-28 10:29     ` Mikael Magnusson
  2021-07-28 11:13       ` Jun T
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael Magnusson @ 2021-07-28 10:29 UTC (permalink / raw)
  To: Jun T; +Cc: zsh-workers

On 7/28/21, Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
>> 2021/07/27 12:57, Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
>>
>> The case in workers/48091 is more obscure for me:
>>
>>> autoload -Uz compinit; compinit
>>> zstyle ':completion:*:functions' ignored-patterns
>>> '[[:punct:]]*[[:alnum:]]*'
>>> zstyle ':completion:*:options' matcher 'b:-=+'
>>
>> First _main_complete:218 calls _complete, but it fails (returns 1); why?
>
> It fails because _functions (the last command run in _typeset) fails,
> and _functions fails because there is no functions whose name starts with
> '-'.
> Not calling _functions when completing options (as in my previous patch)
> solves the problem, but I think it would be better to correctly set the
> return value of _typeset as in the patch below.
>
> If return value is correctly set, the previous patch
>
> -    else
> +    elif [[ $PREFIX != [-+]* ]]; then
>
> is not necessary, but I kept it because calling _functions when completing
> options is just a waste of time (I assume no one would create a function
> whose
> name starts with '-' or '+').

You are (unfortunately) wrong about that:
% grep ' [+-][-a-zA-Z_]* *()' \#zsh.log
15:11 <Fandekasp> kind of esc, I've done this
http://pastebin.com/TeuTQfmk  and by added the misc %m in the formats,
I'm now seeing the stuff given by +vi-git-st()
00:17 <Stalafin> If I encounter a function like "function +foo() {
.... }", what does the + mean? Or does it have no meaning at all?
00:18 <Stalafin> as in: function +foo()
08:31 <Sample> because i don't want to overwrite the -init(), but i
also apparently don't want the zle -K within -keymap-select
08:37 <rking> +vi-tone-down-master() {
hook_com[branch]=${hook_com[branch]/#%master/st} }
08:44 <rking> +vi-check-untracked() {
22:04 <ft> I'd probably build functions such as +zlogin_red() and then
unfunction the whole +zlogin_* namespace.
02:55 <excalibr> +vi-git-untracked() { bla }
23:32 <osse> > +foo() { echo hello }; +foo
16:11 <OxCEA5ED> -() { print huhu }
16:11 <OxCEA5ED> > -() { print huhu }; -; which -
16:11 <OxCEA5ED> > -() { print huhu }; which -
16:12 <ccxCZ> > -() { print huhu }; which - -
16:12 <SweetieBot> ccxCZ: - () {
15:01 <FauxFaux> So /lastlog -regexp () # crashes irssi.  This is not
a good way to find examples of function declarations.
07:25 <llua> > -foo() echo hi; -foo
22:53 <psprint> or rather -strlen(), as r should be raw bytes
15:09 <osse> +vi-check-untracked() {
15:11 <osse> >> +lol() { echo lol }; +lol
15:43 <osse> +vi-check-upstream() {
22:13 <Mikachu> > ls -l () hi; which - -l
22:13 <machabot> Mikachu: -l () {
00:21 <shadowkyogre> random question again. So why does it complain
about bad option when I do "alias -='cd -'", but when I do -(){builtin
cd -}, it allows me to declare that? I do find the function
declaration workaround handy, but I was wondering if there was
anything I'd need to be aware of when doing that.
10:18 <osse> and +vi-shorten-hash() changes the contents of $hook_com[applied]
10:30 <danielsh> should work.  +vi-applied-string() {
hook_com[applied-string]="${${1%% *}[1,12]} ${1#* }"; ret=1 }
20:17 <thrig> > -ke-bab-() { print $ZSH_VERSION }; -ke-bab-
06:37 <jp> how do you trigger +() then as ksh glob?
04:29 <okdana> zstyle ':vcs_info:git*+set-message:*' hooks yourfunc;
+vi-yourfunc() { get the info }
13:15 <rnmhdn> how can I make this seq 2 | xargs -l () {printf '%s %s'
"$1" "xxx\n";}
16:03 <osse> replicant:  +vi-add-space() {
hook_com[branch]+=${hook_com[branch]:+ } }
03:05 <psprint> I wonder what is the diff regex that tells it to
choose builtin source ${ZPLGM[BIN_DIR]}"/zplugin-side.zsh" over
-zplg-download-snippet() as the function name to display after the @@
... @@
03:08 <psprint> or @ zplugin.zsh:1207 @ builtin setopt noaliases  over
@ ... @ -zplg-load-snippet() { Isn't this ridiculous?

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] _gnu_generic completer produces broken output
  2021-07-28 10:29     ` Mikael Magnusson
@ 2021-07-28 11:13       ` Jun T
  0 siblings, 0 replies; 6+ messages in thread
From: Jun T @ 2021-07-28 11:13 UTC (permalink / raw)
  To: zsh-workers


> 2021/07/28 19:29, Mikael Magnusson <mikachu@gmail.com> wrote:
> 
> On 7/28/21, Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
>> 
>> 
>> If return value is correctly set, the previous patch
>> 
>> -    else
>> +    elif [[ $PREFIX != [-+]* ]]; then
>> 
>> is not necessary, but I kept it because calling _functions when completing
>> options is just a waste of time (I assume no one would create a function
>> whose
>> name starts with '-' or '+').
> 
> You are (unfortunately) wrong about that:
(snip)
> I'm now seeing the stuff given by +vi-git-st()
> 00:17 <Stalafin> If I encounter a function like "function +foo() {
...

Thanks. I removed the previous patch. Then:

% -foo () :
% functions -<TAB>

this correctly offers '-foo' (in addition to options), but

% functions -foo<RETURN>
functions: bad option: -f

I need to type

% functions -- -foo

but

% functions -- -<TAB>

offers nothing. 
This is fixed by modifying 'onopts' so that '-' is not included in it.



diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index aecacb112..3f7de9706 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -1,6 +1,6 @@
 #compdef autoload declare export functions integer float local readonly typeset
 
-local expl state line func i use curcontext="$curcontext"
+local expl state state_descr line func i use curcontext="$curcontext" ret=1
 local fopts="-f -k -z +k +z"
 local popts="-A -E -F -L -R -T -Z -a -g -h -H -i -l -r -x"
 local -A allargs opt_args
@@ -79,38 +79,38 @@ esac
 # This function uses whacky features of _arguments which means we
 # need to look for options to the command beforehand.
 local onopts offopts
-onopts=${(j..)${${words[1,CURRENT-1]:#^-*}##-}}
+onopts=${(j..)${${words[1,CURRENT-1]:#^-[^-]*}##-}}
 offopts=${(j..)${${words[1,CURRENT-1]:#^+*}##+}}
 
 for ((i=1;i<=$#use;++i)); do
   args+=( ${allargs[${use[$i]}${${(s::)use[$i]}[(r)[dUurRtT]]:+$func}]} )
 done
 
-_arguments -C -s -A "-*" -S "${args[@]}" '*::vars:= ->vars_eq'
+_arguments -C -s -A "-*" -S "${args[@]}" '*::vars:= ->vars_eq' && ret=0
 
 if [[ "$state" = vars_eq ]]; then
   if [[ $func = f ]]; then
     if (( $+opt_args[+M] || ( $+opt_args[-M] && $+opt_args[-m] ) )); then
       _wanted functions expl 'math function' compadd -F line - \
-          ${${${(f)"$(functions -M)"}##*-M }%% *}
+          ${${${(f)"$(functions -M)"}##*-M }%% *} && ret=0
     elif (( $+opt_args[-M] )); then
       _arguments ':new math function:_functions' \
 	":minimum arguments${(k)opt_args[-s]:+:(1)}" \
 	":maximum arguments${(k)opt_args[-s]:+:(1)}" \
-	':shell function:_functions'
+	':shell function:_functions' && ret=0
     elif (( $+opt_args[-w] )); then
-      _wanted files expl 'zwc file' _files -g '*.zwc(-.)'
+      _wanted files expl 'zwc file' _files -g '*.zwc(-.)' && ret=0
     elif [[ $service = autoload || -n $opt_args[(i)-[uU]] ]]; then
       if [[ $PREFIX[1] = [/~] ]]; then
 	# Autoload by absolute path
-	_files
+	_files && ret=0
       else
 	  args=(${^fpath}/*(-.:t))
 	  # Filter out functions already loaded or marked for autoload.
 	  local -a funckeys
 	  funckeys=(${(k)functions})
 	  args=(${args:|funckeys})
-	  _wanted functions expl 'shell function' compadd -a args
+	  _wanted functions expl 'shell function' compadd -a args && ret=0
       fi
     elif [[ -n $onopts$offopts ]]; then
       if [[ -n $offopts ]]; then
@@ -127,22 +127,23 @@ if [[ "$state" = vars_eq ]]; then
 	[[ $PREFIX != [_.]* ]]; then
 	args=(${args:#_*})
       fi
-      _wanted functions expl 'shell function' compadd -a args
+      _wanted functions expl 'shell function' compadd -a args && ret=0
     else
-      _functions
+      _functions && ret=0
     fi
   elif [[ "$PREFIX" = *\=* ]]; then
     compstate[parameter]="${PREFIX%%\=*}"
     compset -P 1 '*='
-    _value
+    _value && ret=0
   elif (( $+opt_args[-a] || $+opt_args[-A] )); then
-    _parameters -q
+    _parameters -q && ret=0
   elif (( $+opt_args[-T] )); then
     _arguments \
       ':scalar parameter:_parameters -g "*scalar*" -q -S "="' \
       ':array parameter:_parameters -g "*array*"' \
-      ':separator character'
+      ':separator character' && ret=0
   else
-    _parameters -q -S '='
+    _parameters -q -S '=' && ret=0
   fi
 fi
+return ret




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [BUG] _gnu_generic completer produces broken output
  2021-07-22 19:39 [BUG] _gnu_generic completer produces broken output Marlon Richert
  2021-07-27  3:57 ` Jun T
@ 2021-08-01 14:26 ` Marlon Richert
  1 sibling, 0 replies; 6+ messages in thread
From: Marlon Richert @ 2021-08-01 14:26 UTC (permalink / raw)
  To: Zsh hackers list

Actually, maybe I'm just using it wrong. This appears to work correctly:

compdef _gnu_generic -default- -P "(${(@kj:|:)commands})"



On Thu, Jul 22, 2021 at 10:39 PM Marlon Richert
<marlon.richert@gmail.com> wrote:
>
> Fails with both 5.8 and the current master branch (commit d9e5ef020).
> Looks like the same bug as workers 48091.
>
> % autoload compinit && compinit
> % compdef _gnu_generic -command- -P '*'
> % pip3 -
> --cache-dir
> --cert
> --client-cert
> --disable-pip-version-check
> --exists-action
> --help
> --isolated
> --log
> --no-cache-dir
> --no-color
> --proxy
> --quiet
> --retries
> --timeout
> --trusted-host
> --verbose
> --version
>
>
>
>
>
> -h
>
>
>
>
>
> -q
>
>
>
> -v
> -V
> -- Store the cache data in <dir>.
> -- Path to alternate CA bundle.
> -- Path to SSL client certificate, a single file
> -- Don't periodically check PyPI to determine
> -- Default action when a path already exists-
> -- Show help.
> -- Run pip in an isolated mode, ignoring
> -- Path to a verbose appending log.
> -- Disable the cache.
> -- Suppress colored output
> -- Specify a proxy in the form
> -- Give less output. Option is additive, and can be
> -- Maximum number of retries each connection should
> -- Set the socket timeout (default 15 seconds).
> -- Mark this host as trusted, even though it does
> -- Give more output. Option is additive, and can be
> -- Show version and exit.
> --cache-dir
> --cert
> --client-cert
> --disable-pip-version-check
> --exists-action
> --help
> --isolated
> --log
> --no-cache-dir
> --no-color
> --proxy
> --quiet
> --retries
> --timeout
> --trusted-host
> --verbose
> --version
>
>
>
>
>
> -h
>
>
>
>
>
> -q
>
>
>
> -v
> -V
> -- Store the cache data in <dir>.
> -- Path to alternate CA bundle.
> -- Path to SSL client certificate, a single file
> -- Don't periodically check PyPI to determine
> -- Default action when a path already exists-
> -- Show help.
> -- Run pip in an isolated mode, ignoring
> -- Path to a verbose appending log.
> -- Disable the cache.
> -- Suppress colored output
> -- Specify a proxy in the form
> -- Give less output. Option is additive, and can be
> -- Maximum number of retries each connection should
> -- Set the socket timeout (default 15 seconds).
> -- Mark this host as trusted, even though it does
> -- Give more output. Option is additive, and can be
> -- Show version and exit.
> --cache-dir
> --cert
> --client-cert
> --disable-pip-version-check
> --exists-action
> --help
> --isolated
> --log
> --no-cache-dir
> --no-color
> --proxy
> --quiet
> --retries
> --timeout
> --trusted-host
> --verbose
> --version
>
>
>
>
>
> -h
>
>
>
>
>
> -q
>
>
>
> -v
> -V
> -- Store the cache data in <dir>.
> -- Path to alternate CA bundle.
> -- Path to SSL client certificate, a single file
> -- Don't periodically check PyPI to determine
> -- Default action when a path already exists-
> -- Show help.
> -- Run pip in an isolated mode, ignoring
> -- Path to a verbose appending log.
> -- Disable the cache.
> -- Suppress colored output
> -- Specify a proxy in the form
> -- Give less output. Option is additive, and can be
> -- Maximum number of retries each connection should
> -- Set the socket timeout (default 15 seconds).
> -- Mark this host as trusted, even though it does
> -- Give more output. Option is additive, and can be
> -- Show version and exit.
> % pip3 -


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-01 14:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 19:39 [BUG] _gnu_generic completer produces broken output Marlon Richert
2021-07-27  3:57 ` Jun T
2021-07-28  9:38   ` Jun T
2021-07-28 10:29     ` Mikael Magnusson
2021-07-28 11:13       ` Jun T
2021-08-01 14:26 ` Marlon Richert

zsh-workers

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ https://inbox.vuxu.org/zsh-workers \
		zsh-workers@zsh.org
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git