add "subcmd" as second arg to "main()" callback