summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-11-04 14:14:26 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-11-04 14:14:26 +0000
commit45faf8f5b2758a638e0958928262ca9d26980885 (patch)
treef8ce41f5256066c0badafad6a561218007dc5804 /Doc/Zsh/zle.yo
parentfdb00982f5405a869392e0dfea6a76e044af212a (diff)
downloadzsh-45faf8f5b2758a638e0958928262ca9d26980885.tar.gz
zsh-45faf8f5b2758a638e0958928262ca9d26980885.tar.xz
zsh-45faf8f5b2758a638e0958928262ca9d26980885.zip
29891: make zle -lL with arguments work
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo15
1 files changed, 10 insertions, 5 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 5f4d639d3..752247461 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -392,11 +392,16 @@ commands to create the widgets.
 When combined with the tt(-a) option, all widget names are listed,
 including the builtin ones. In this case the tt(-L) option is ignored.
 
-If at least one var(string) is given, nothing will be printed but the
-return status will be zero if all var(string)s are names of existing
-widgets (or of user-defined widgets if the tt(-a) flag is not given)
-and non-zero if at least one var(string) is not a name of an defined
-widget.
+If at least one var(string) is given, and tt(-a) is present or tt(-L) is
+not used, nothing will be printed.  The return status will be zero if
+all var(string)s are names of existing widgets and non-zero if at least one
+var(string) is not a name of a defined widget.  If tt(-a) is also
+present, all widget names are used for the comparison including builtin
+widgets, else only user-defined widgets are used.
+
+If at least one var(string) is present and the tt(-L) option is used,
+user-defined widgets matching any var(string) are listed in the form of
+tt(zle) commands to create the widgets.
 )
 item(tt(-D) var(widget) ...)(
 Delete the named var(widget)s.