Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnabRollin committed Oct 27, 2023
1 parent 6484f67 commit e75ec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/argparser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn argument_parser() {
if arg.starts_with("--") {
let varsplit: Vec<&str> = arg.split('=').collect();

if varsplit.is_empty() {
if varsplit[..varsplit.len() - 1].is_empty() {
options.extend(
arg.trim_start_matches("--")
.split('-')
Expand Down

0 comments on commit e75ec13

Please sign in to comment.