diff options
-rw-r--r-- | src/diff_options.rs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/diff_options.rs b/src/diff_options.rs index 55b76ce..3c19634 100644 --- a/src/diff_options.rs +++ b/src/diff_options.rs @@ -14,7 +14,7 @@ // along with this program. If not, see <https://www.gnu.org/licenses/>. -static FLAGS: [&'static str; 59] = [ +static FLAGS: [&'static str; 98] = [ "-p", "--no-stat", "-p", @@ -74,9 +74,6 @@ static FLAGS: [&'static str; 59] = [ "--no-textconv", "--no-prefix", "--ita-invisible-in-index", -]; - -static OPTIONS: [&'static str; 39] = [ "-U", "--unified", "--output", @@ -132,14 +129,6 @@ pub fn parse(args: &[String]) -> (Vec<&String>, Vec<&String>) { } } - for option in OPTIONS.iter() { - if arg.starts_with(option) { - found_args.push(arg); - - continue 'args; - } - } - program_args.push(arg) } |