mirror of
https://github.com/systemd/systemd.git
synced 2025-09-26 01:44:43 +03:00
completion/systemd-delta,-resolve: autocomplete with parameters
This commit is contained in:
@@ -71,7 +71,7 @@ _systemd-resolve() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [[ "$cur" = -* ]]; then
|
||||
if [[ "$cur" = -* ]] || [[ -z ${comps-} ]]; then
|
||||
COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
|
||||
return 0
|
||||
fi
|
||||
|
Reference in New Issue
Block a user