print all commands (fix #1)