summaryrefslogtreecommitdiff
path: root/completions/lastlog
diff options
context:
space:
mode:
authorDavid Paleino <dapal@debian.org>2013-11-04 17:58:57 +0100
committerDavid Paleino <dapal@debian.org>2013-11-04 17:58:57 +0100
commit059a87a5936cfebfd2d71ab8057002cafb2ea051 (patch)
tree7fafa4bb39a443ba4d49fccc852193adfea93564 /completions/lastlog
parent30649a02707d24744853f84946f744fdcf7c2757 (diff)
downloadbash-completion-059a87a5936cfebfd2d71ab8057002cafb2ea051.tar.gz
Imported Upstream version 2.1upstream/2.1
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