mirror of
https://github.com/containers/skopeo.git
synced 2025-06-27 15:18:00 +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
|
local option_with_args
|
||||||
for option_with_args in $options_with_args $transports
|
for option_with_args in $options_with_args $transports
|
||||||
do
|
do
|
||||||
if [ "$option_with_args" == "$prev" -o "$option_with_args" == "$cur" ]
|
if [ "$option_with_args" == "$prev" ] || [ "$option_with_args" == "$cur" ]
|
||||||
then
|
then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user