fix usage message

fix protocol detection