flags #5
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
mod misc;
|
||||
pub mod misc;
|
||||
|
||||
use std::process::exit;
|
||||
|
||||
|
@ -18,6 +18,7 @@ pub fn parse_args(args: Vec<String>) -> Vec<String>{
|
|||
tmpstr = parse_args_1(arg);
|
||||
|
||||
if tmpstr == "--" {
|
||||
parser.push("--".to_string());
|
||||
i += 1;
|
||||
}
|
||||
if tmpstr == "-w" {
|
||||
|
@ -30,6 +31,7 @@ pub fn parse_args(args: Vec<String>) -> Vec<String>{
|
|||
}
|
||||
else if tmpstr == "" {
|
||||
// We are actually in phase II. Do exactly the same if it was phase II.
|
||||
parser.push("--".to_string());
|
||||
parser.push(phase2(arg));
|
||||
i = 3;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue