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_lo6
1 files changed, 1 insertions, 5 deletions
diff --git a/Completion/User/_use_lo b/Completion/User/_use_lo
index e469154ea..a22a5fdb2 100644
--- a/Completion/User/_use_lo
+++ b/Completion/User/_use_lo
@@ -3,8 +3,4 @@
 # This is for GNU-like commands which understand the --help option,
 # but which do not otherwise require special completion handling.
 
-if [[ $PREFIX = --* ]]; then
-  _long_options
-else
-  _default
-fi
+_long_options -t || _default