Skip to content

Commit

Permalink
Rename delimiter parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
piyoppi committed Mar 5, 2024
1 parent 9235523 commit 01853a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ struct Args {
time_limited_current: String,

#[arg(long, default_value = "<!--")]
time_limited_delimiter_start: String,
delimiter_start: String,

#[arg(long, default_value = "-->")]
time_limited_delimiter_end: String,
delimiter_end: String,
}

fn main() {
Expand Down Expand Up @@ -68,8 +68,8 @@ fn main() {

let tokens = tokenizer::tokenize(
&content,
args.time_limited_delimiter_start.as_str(),
args.time_limited_delimiter_end.as_str(),
args.delimiter_start.as_str(),
args.delimiter_end.as_str(),
);

let (removed, markers) = remover::remove(parser::parse(&tokens), &content, &builder_map);
Expand Down

0 comments on commit 01853a7

Please sign in to comment.