At less than 35 yards .177" has nothing but disadvantages.
Both calibres are the same regarding accuracy
In the same gun .22 is smoother to shoot than .177 at the same power
It is also easier to cock
There is no real trajectory advantage for either at that range
.22 pellets are easier to pick up and load.
.22 pellets are less likely to overpenetrate live targets at close range