finish simple cmdline