Or operator with if

hi,

i was trying to club to test condition with if.

if [ $1 -ne 0 ] -o [ $2 -ne 0 ]; then

it is giving me error message, i wanted to ask how can we check two condtions with one if.

if [ $1 -ne 0 -o $2 -ne 0 ]; then