split_cmdline: Allow caller to access error string