summaryrefslogtreecommitdiff
path: root/completions/lastlog
diff options
context:
space:
mode:
Diffstat (limited to 'completions/lastlog')
-rw-r--r--completions/lastlog7
1 files changed, 2 insertions, 5 deletions
diff --git a/completions/lastlog b/completions/lastlog
index 8663afd7..a8724029 100644
--- a/completions/lastlog
+++ b/completions/lastlog
@@ -17,11 +17,8 @@ _lastlog()
$split && return 0
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
- [[ $COMPREPLY == *= ]] && compopt -o nospace
- return 0
- fi
+ COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ [[ $COMPREPLY == *= ]] && compopt -o nospace
} &&
complete -F _lastlog lastlog