Skip to content

Commit

Permalink
Fix port type in config
Browse files Browse the repository at this point in the history
  • Loading branch information
2e3s committed Nov 7, 2024
1 parent 21acaea commit c557928
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 @@ -52,7 +52,7 @@ pub fn from_cli() -> anyhow::Result<RunnerConfig> {
.args([
arg!(-c --config <FILE> "Custom config file").value_parser(value_parser!(PathBuf)),
arg!(--port <PORT> "Custom server port")
.value_parser(value_parser!(u32))
.value_parser(value_parser!(u16))
.default_value(defaults::port().to_string()),
#[cfg(not(feature = "bundle"))]
arg!(--host <HOST> "Custom server host")
Expand Down

0 comments on commit c557928

Please sign in to comment.