This commit is contained in:
UK992 2016-03-08 01:38:49 +01:00
parent 607cd5923e
commit 193fc1f84e

View file

@ -237,10 +237,12 @@ fn parse_arguments() -> (Args, Vec<String>) {
result_output = Some(PathBuf::from(args.next().expect("-o must be followed by the output name"))); result_output = Some(PathBuf::from(args.next().expect("-o must be followed by the output name")));
}, },
"-r" => { "-r" => {
result_root_path = Some(PathBuf::from(args.next().expect("-r must be followed by the enlistment root directory"))); result_root_path =
Some(PathBuf::from(args.next().expect("-r must be followed by the enlistment root directory")));
}, },
"-t" => { "-t" => {
result_target_path = Some(PathBuf::from(args.next().expect("-t must be followed by the target output directory"))); result_target_path =
Some(PathBuf::from(args.next().expect("-t must be followed by the target output directory")));
}, },
"-l" => { "-l" => {
let name = args.next().expect("-l must be followed by a library name"); let name = args.next().expect("-l must be followed by a library name");