cmdline: cd to dir, if passed as cmdline parameter