cli: fixed main() signature