From 6df80fa50339ea04988cc75f683d0466bb129321 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Thu, 13 Aug 2020 10:46:21 +0200 Subject: [PATCH] Add -t/--timestamp to bash completion script. --- src/bash-completion/tio.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bash-completion/tio.in b/src/bash-completion/tio.in index a0d062d..88e0084 100644 --- a/src/bash-completion/tio.in +++ b/src/bash-completion/tio.in @@ -20,6 +20,7 @@ _tio() -l --log \ -m --map \ -v --version \ + -t --timestamp \ -h --help" # Complete the arguments to the options. @@ -65,6 +66,10 @@ _tio() COMPREPLY=( $(compgen -W "ICRNL IGNCR INLCR INLCRNL OCRNL ODELBS ONLCRNL" -- ${cur}) ) return 0 ;; + -t | --timestamp) + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; -v | --version) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0