diff options
author | David Paleino <dapal@debian.org> | 2013-04-05 12:55:51 +0200 |
---|---|---|
committer | David Paleino <dapal@debian.org> | 2013-04-05 12:55:51 +0200 |
commit | 09dbe3eeb2e9695d171a63e14361c4099b5be978 (patch) | |
tree | 69f099aab27e28b832e627de51ed2b99e3d7445c /completions/lastlog | |
parent | 0d099a545fed933f329f434a43b58edcb52d366c (diff) | |
parent | 3085c7e12179817a02a611016606391295c69942 (diff) | |
download | bash-completion-2.x.tar.gz |
Merge branch 'master' into 2.x2.x
Diffstat (limited to 'completions/lastlog')
-rw-r--r-- | completions/lastlog | 7 |
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 |