Exclude --unbuffered from bash completions

It's a no-op, so there's little reason to suggest it.
This commit is contained in:
Ville Skyttä 2022-09-10 10:37:43 +03:00 committed by David Peter
parent c816188f97
commit 66edfe5dff

View File

@ -124,6 +124,7 @@ _bat() {
$split && return 0 $split && return 0
if [[ $cur == -* ]]; then if [[ $cur == -* ]]; then
# --unbuffered excluded intentionally (no-op)
COMPREPLY=($(compgen -W " COMPREPLY=($(compgen -W "
--show-all --show-all
--plain --plain
@ -149,7 +150,6 @@ _bat() {
--style --style
--line-range --line-range
--list-languages --list-languages
--unbuffered
--diagnostic --diagnostic
--acknowledgements --acknowledgements
--help --help