From 8a83d2a9732f3bf89524f2234834cf6901af2014 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 4 Jun 2022 19:24:26 +0200 Subject: [PATCH] Update bash completion --- src/bash-completion/tio.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bash-completion/tio.in b/src/bash-completion/tio.in index 58da18d..956bf96 100644 --- a/src/bash-completion/tio.in +++ b/src/bash-completion/tio.in @@ -18,9 +18,11 @@ _tio() -o --output-delay \ -n --no-autoconnect \ -l --log \ + --log-filename \ -m --map \ -v --version \ -t --timestamp \ + --timestamp-format \ -L --list-devices \ -c --color \ -h --help" @@ -69,6 +71,10 @@ _tio() return 0 ;; -t | --timestamp) + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; + --timestamp-format) COMPREPLY=( $(compgen -W "24hour 24hour-start iso8601" -- ${cur}) ) return 0 ;;