Man arrested for pulling knife on off-duty officer