diff --git a/crates/radicle-node/src/main.rs b/crates/radicle-node/src/main.rs index a9f71392..3cb8fcac 100644 --- a/crates/radicle-node/src/main.rs +++ b/crates/radicle-node/src/main.rs @@ -2,6 +2,7 @@ use std::io; use std::net::SocketAddr; use std::path::PathBuf; use std::process::exit; +use std::str::FromStr; use crossbeam_channel as chan; use thiserror::Error; @@ -14,17 +15,7 @@ use radicle_node::{Runtime, VERSION}; #[cfg(unix)] use radicle_signals as signals; -/// The log level to use before reading any other value -/// from configuration. -/// -/// Note that this is different from the default value -/// of the command line argument `--log`, as it is valid -/// *even before that argument is parsed*. -/// It ensures that we log the errors parsing the -/// command line arguments, such as `--log`. -const LOG_LEVEL_DEFAULT: &log::Level = &log::Level::Warn; - -pub const HELP_MSG: &str = r#" +const HELP_MSG: &str = r#" Usage radicle-node [