diff options
| author | Sami Kerola <kerolasa@iki.fi> | 2019-12-11 19:19:21 +0000 |
|---|---|---|
| committer | Sami Kerola <kerolasa@iki.fi> | 2019-12-11 19:19:21 +0000 |
| commit | 6b62a608b26e5c2322b32b5f0b3406cdb68388d4 (patch) | |
| tree | 1aeb4bb2a7c84cec9b8b05f8e936d6400034f920 | |
| parent | 393f266c7697fd72e61f4d04a9e05d7457415f33 (diff) | |
| download | util-linux-6b62a608b26e5c2322b32b5f0b3406cdb68388d4.tar.gz | |
bash-completion: update script, scriptlive, and scriptreplay files
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
| -rw-r--r-- | bash-completion/script | 8 | ||||
| -rw-r--r-- | bash-completion/scriptlive | 5 | ||||
| -rw-r--r-- | bash-completion/scriptreplay | 8 |
3 files changed, 21 insertions, 0 deletions
diff --git a/bash-completion/script b/bash-completion/script index d6add99351..9533313f7d 100644 --- a/bash-completion/script +++ b/bash-completion/script @@ -10,10 +10,18 @@ _script_module() COMPREPLY=( $(compgen -c -- $cur) ) return 0 ;; + '-E'|'--echo') + COMPREPLY=( $(compgen -W "auto always never" -- $cur) ) + return 0 + ;; '-o'|'--output-limit') COMPREPLY=( $(compgen -W "size" -- $cur) ) return 0 ;; + '-m'|'--logging-format') + COMPREPLY=( $(compgen -W "classic advanced" -- $cur) ) + return 0 + ;; '-h'|'--help'|'-V'|'--version') return 0 ;; diff --git a/bash-completion/scriptlive b/bash-completion/scriptlive index 1dd0a63650..56a296f5b5 100644 --- a/bash-completion/scriptlive +++ b/bash-completion/scriptlive @@ -5,6 +5,11 @@ _scriptlive_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in + '-c'|'--command') + compopt -o bashdefault + COMPREPLY=( $(compgen -c -- $cur) ) + return 0 + ;; '-d'|'--divisor'|'-m'|'--maxdelay') COMPREPLY=( $(compgen -W "digit" -- $cur) ) return 0 diff --git a/bash-completion/scriptreplay b/bash-completion/scriptreplay index 6c1ed4ca00..5e3f20eea7 100644 --- a/bash-completion/scriptreplay +++ b/bash-completion/scriptreplay @@ -5,10 +5,18 @@ _scriptreplay_module() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" case $prev in + '-c'|'--cr-mode') + COMPREPLY=( $(compgen -W "auto never always" -- $cur) ) + return 0 + ;; '-d'|'--divisor'|'-m'|'--maxdelay') COMPREPLY=( $(compgen -W "digit" -- $cur) ) return 0 ;; + '-x'|'--stream') + COMPREPLY=( $(compgen -W "out in signal info" -- $cur) ) + return 0 + ;; '-h'|'--help'|'-V'|'--version') return 0 ;; |
