feat(aa-log): update shell completion.

This commit is contained in:
Alexandre Pujol 2023-04-19 19:02:42 +01:00
parent 2e466bab20
commit eddcd0ecce
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
_aa-log() {
COMPREPLY=()
local cur="${COMP_WORDS[COMP_CWORD]}"
local args=(-f -s -h)
local args=(-f --file -s --systemd -h --help)
local lastarg="${COMP_WORDS[$COMP_CWORD-1]}"
COMPREPLY+=($(compgen -W "${args[*]}" -- ${cur}))
if [[ $lastarg == "-f" ]]; then