about summary refs log tree commit diff
path: root/Completion/X/_x_locale
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_x_locale')
-rw-r--r--Completion/X/_x_locale6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/X/_x_locale b/Completion/X/_x_locale
index 418868f13..62415f857 100644
--- a/Completion/X/_x_locale
+++ b/Completion/X/_x_locale
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'locale'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'locale'
+fi