cli.py: fixed example
improved debug log