Skip to content

Commit

Permalink
🧹
Browse files Browse the repository at this point in the history
  • Loading branch information
aslilac committed May 25, 2024
1 parent c95781d commit 4af2449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ where
continue;
}

match arg.as_ref() {
match arg {
"-v" | "-V" | "-version" | "--version" => {
println!("{} {}", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION"));
exit(0);
Expand Down Expand Up @@ -111,7 +111,7 @@ where
.as_ref()
.expect(&format!("expected a language to follow {} flag", arg))
.as_ref()
.split(",");
.split(',');
for lang in list {
options.excluded.insert(
Language::from_name(lang)
Expand All @@ -126,7 +126,7 @@ where
.as_ref()
.expect(&format!("expected a language to follow {} flag", arg))
.as_ref()
.split(",");
.split(',');
for lang in list {
options.only_include.insert(
Language::from_name(lang)
Expand Down

0 comments on commit 4af2449

Please sign in to comment.