small improvement to subcommand
Remove useless "assert" header