Skip to content

Commit

Permalink
Fix small typo in the error print
Browse files Browse the repository at this point in the history
  • Loading branch information
robklg committed Dec 14, 2024
1 parent 76b5343 commit f0e856b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ async fn run(arg_matches: ArgMatches) -> Result<(), String> {
let addr = arg_matches.value_of(args::BIND_ADDRESS).unwrap();
let http_addr = arg_matches.value_of(args::HTTP_BIND_ADDRESS).unwrap();
let auth_type = arg_matches.value_of(args::AUTH_TYPE).unwrap_or_else(|| {
eprintln!("Required option --auth-type is missing. To disable authentication, use: `--auth-type anonymous` or set the `UNFTP_AUTH_TYPE=anonymous` environment variable.");
eprintln!("Required option --auth-type is missing. To disable authentication, use: `--auth-type=anonymous` or set the `UNFTP_AUTH_TYPE=anonymous` environment variable.");
::std::process::exit(1)
});
let sbe_type = arg_matches.value_of(args::STORAGE_BACKEND_TYPE).unwrap();
Expand Down

0 comments on commit f0e856b

Please sign in to comment.