mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add mute feature
This will make tio go fully silent and not print anything.
This commit is contained in:
parent
784201ea2e
commit
c80f833a06
3 changed files with 23 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ _tio()
|
|||
--rs-485 \
|
||||
--rs-485-config \
|
||||
--alert \
|
||||
--mute \
|
||||
-v --version \
|
||||
-h --help"
|
||||
|
||||
|
|
@ -141,6 +142,10 @@ _tio()
|
|||
COMPREPLY=( $(compgen -W "none bell blink" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
--mute)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
-v | --version)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue