Skip to content
Snippets Groups Projects
Commit c5ffced1 authored by Patrick Lam's avatar Patrick Lam
Browse files

cutoff default in configuration

parent 5b1d519b
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ struct Args {
#[arg(long)]
after_line: Option<String>,
#[arg(long)]
#[arg(long,default_value="3")]
cutoff: Option<i32>,
#[arg(long,require_equals=true,num_args=0..=1,default_missing_value_os="true")]
......@@ -130,10 +130,7 @@ fn main() {
None => panic!("must specify a raw input file"),
Some(lf) => lf,
};
let cutoff = match args.cutoff {
None => 3,
Some(c) => c,
};
let cutoff = args.cutoff.unwrap();
let (double_dict, triple_dict, _all_token_list) =
packages::parser::parse_raw(input_fn.unwrap(), &log_format);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment