chore(aa-log): update shell completion.

This commit is contained in:
Alexandre Pujol 2023-10-10 20:44:50 +01:00
parent 1048283b5c
commit 0b412b5713
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 4 additions and 2 deletions

View file

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