[smd-tool] cmdline improvements
[image-rebase] cmdline improvements