From d41649afb6f0bc5f27f65c505a3fd7d7ec967b05 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Mon, 6 Jun 2022 19:47:08 +0200 Subject: [PATCH] Update bash completion --- src/bash-completion/tio.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bash-completion/tio.in b/src/bash-completion/tio.in index 956bf96..1a07632 100644 --- a/src/bash-completion/tio.in +++ b/src/bash-completion/tio.in @@ -20,11 +20,12 @@ _tio() -l --log \ --log-filename \ -m --map \ - -v --version \ -t --timestamp \ --timestamp-format \ -L --list-devices \ -c --color \ + -x --hex \ + -v --version \ -h --help" # Complete the arguments to the options. @@ -90,6 +91,10 @@ _tio() COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; + -x | --hex) + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + ;; -v | --version) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0