about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r--Doc/Zsh/contrib.yo4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 8686e9430..50965bfc4 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1191,13 +1191,13 @@ For example, a user-defined widget containing the following code
 converts the characters in the argument under the cursor into all upper
 case:
 
-example(modify-current-word '${(U)ARG}')
+example(modify-current-argument '${(U)ARG}')
 
 The following strips any quoting from the current word (whether backslashes
 or one of the styles of quotes), and replaces it with single quoting
 throughout:
 
-example(modify-current-word '${(qq)${(Q)ARG}}')
+example(modify-current-argument '${(qq)${(Q)ARG}}')
 )
 enditem()