We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ff952 commit aea01c9Copy full SHA for aea01c9
mithril-aggregator/src/command_args.rs
@@ -137,6 +137,7 @@ async fn do_first_launch_initialization_if_needed(
137
138
/// Mithril Aggregator Node
139
#[derive(Parser, Debug, Clone)]
140
+#[command(version)]
141
pub struct MainOpts {
142
/// application main command
143
#[clap(subcommand)]
@@ -147,8 +148,8 @@ pub struct MainOpts {
147
148
pub run_mode: String,
149
150
/// Verbosity level
- #[clap(short, long, parse(from_occurrences))]
151
- pub verbose: usize,
+ #[clap(short, long, action = clap::ArgAction::Count)]
152
+ pub verbose: u8,
153
154
/// Directory of the Cardano node files
155
#[clap(long)]
0 commit comments