cli.py: in cmd specification brackets <> changed to [] to be compatible with old code base