cmdline improvements