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