cli.batch: fix typo, use idiomatic var name