gustafn
committed
on 11 Jun 19
use same idioms for checking for exising commands