Skip to content

Commit

Permalink
fix: cli no opts initial-url
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Tsai committed Oct 21, 2024
1 parent 3e035a7 commit fbd3bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn parse_cli_args() -> Result<CliArgs, getopts::Fail> {
let args: Vec<String> = std::env::args().collect();

let mut opts = getopts::Options::new();
opts.optopt("", "url", "URL to load on start", "URL");
opts.optopt("", "initial-url", "URL to load on start", "URL");

let matches = opts.parse(&args[1..])?;
let initial_url = matches
Expand Down

0 comments on commit fbd3bee

Please sign in to comment.