mirror of
https://github.com/containers/skopeo.git
synced 2025-06-26 22:57:35 +00:00
bash completion: use ||
instead of -o
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
7b0db25a74
commit
91510e39ab
@ -10,7 +10,7 @@ _complete_() {
|
||||
local option_with_args
|
||||
for option_with_args in $options_with_args $transports
|
||||
do
|
||||
if [ "$option_with_args" == "$prev" -o "$option_with_args" == "$cur" ]
|
||||
if [ "$option_with_args" == "$prev" ] || [ "$option_with_args" == "$cur" ]
|
||||
then
|
||||
return
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user