From bd5f54295997bd7d4136cc18d4cdbe8bc2964d1a Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Sat, 11 Jun 2022 17:11:19 +0200 Subject: [PATCH] Update bash completion --- src/bash-completion/tio.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bash-completion/tio.in b/src/bash-completion/tio.in index 9c02c74..3a9b42a 100644 --- a/src/bash-completion/tio.in +++ b/src/bash-completion/tio.in @@ -24,6 +24,7 @@ _tio() --timestamp-format \ -L --list-devices \ -c --color \ + -S --socket \ -x --hex \ -v --version \ -h --help" @@ -88,7 +89,7 @@ _tio() return 0 ;; -S | --socket) - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + COMPREPLY=( $(compgen -W "unix: inet: inet6:" -- ${cur}) ) return 0 ;; -x | --hex)