pub fn cmdline_parse(args: &str) -> Result<Cmdline, &'static str>