How to declare short position in online tax portal?

I can only guess it’s no difference than long position, since the the field for number of shares does not accept negative numbers. Could anyone confirm?
And yes, they were opened on the last day of the year.