about summary refs log tree commit diff
path: root/Completion/X/_x_borderwidth
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_x_borderwidth')
-rw-r--r--Completion/X/_x_borderwidth6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/X/_x_borderwidth b/Completion/X/_x_borderwidth
index 1864e8a77..c2f0eec83 100644
--- a/Completion/X/_x_borderwidth
+++ b/Completion/X/_x_borderwidth
@@ -1,7 +1,9 @@
 #autoload
 
-if (( $# )); then
-  _message "$2"
+local x="$argv[(I)-X]"
+
+if (( x )); then
+  _message -r "$argv[x + 1]"
 else
   _message 'border width'
 fi