pub fn parse(args: Vec<OsString>, host: &dyn Host) -> Result<Config, CliError>Expand description
Parses PRoot-style arguments (without argv[0]).
Host-side paths (the root, the host side of a binding) are resolved
through host into host paths; the working directory and the command
stay guest paths.
§Arguments
args- Command-line arguments.host- The process the command line is interpreted for.
§Returns
The configuration to launch.
§Errors
CliError::Exit after --help/--version, CliError::Usage otherwise.