otrx: change command line API to start with a mode