diff --git a/src/cli.rs b/src/cli.rs index 0448ea3..2cf1cbb 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -26,7 +26,7 @@ pub struct Opt { #[clap( long = "mine-when-not-synced", help = "Mine even when kaspad says it is not synced", - long_help = "Mine even when kaspad says it is not synced, only useful when passing `--allow-submit-block-when-not-synced` to kaspad [default: false]", + long_help = "Mine even when kaspad says it is not synced, only useful when passing `--allow-submit-block-when-not-synced` to kaspad [default: false]" )] pub mine_when_not_synced: bool, diff --git a/src/main.rs b/src/main.rs index be79c57..aec3195 100644 --- a/src/main.rs +++ b/src/main.rs @@ -113,8 +113,7 @@ async fn main() -> Result<(), Error> { let mut path = current_exe().unwrap_or_default(); path.pop(); // Getting the parent directory let plugins = filter_plugins(path.to_str().unwrap_or(".")); - let (app, mut plugin_manager): (App, PluginManager) = - kaspa_miner::load_plugins(Opt::into_app(), &plugins)?; + let (app, mut plugin_manager): (App, PluginManager) = kaspa_miner::load_plugins(Opt::into_app(), &plugins)?; let matches = app.get_matches();