examples/cmdline: add some more comments and do a little cosmetic