about summary refs log tree commit diff
path: root/Completion/User/_use_lo
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_use_lo')
-rw-r--r--Completion/User/_use_lo4
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/User/_use_lo b/Completion/User/_use_lo
index a22a5fdb2..56651dd67 100644
--- a/Completion/User/_use_lo
+++ b/Completion/User/_use_lo
@@ -3,4 +3,6 @@
 # This is for GNU-like commands which understand the --help option,
 # but which do not otherwise require special completion handling.
 
-_long_options -t || _default
+[[ "$PREFIX" = --* ]] && _arguments -- && return 0
+
+_default