Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Feb 12, 2025
1 parent 4d18f15 commit e399634
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions crates/iota-tool/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,10 @@ pub enum ToolCommand {
/// 0x260efde76ebccf57f4c5e951157f5c361cde822c \ --genesis
/// $HOME/.iota/iota_config/genesis.blob \ --verbosity
/// concise --concise-no-header ```
#[arg(
value_enum,
long,
default_value = "grouped",
ignore_case = true
)]
#[arg(value_enum, long, default_value = "grouped", ignore_case = true)]
verbosity: Verbosity,

#[arg(
long,
help = "don't show header in concise output"
)]
#[arg(long, help = "don't show header in concise output")]
concise_no_header: bool,
},

Expand Down Expand Up @@ -260,10 +252,7 @@ pub enum ToolCommand {
DownloadDBSnapshot {
#[arg(long, conflicts_with = "latest")]
epoch: Option<u64>,
#[arg(
long,
help = "the path to write the downloaded snapshot files"
)]
#[arg(long, help = "the path to write the downloaded snapshot files")]
path: PathBuf,
/// skip downloading indexes dir
#[arg(long)]
Expand All @@ -290,10 +279,7 @@ pub enum ToolCommand {
snapshot_bucket_type: Option<ObjectStoreType>,
/// Path to snapshot directory on local filesystem.
/// Only applicable if `--snapshot-bucket-type` is "file".
#[arg(
long,
help = "only used for testing, when --snapshot-bucket-type=FILE"
)]
#[arg(long, help = "only used for testing, when --snapshot-bucket-type=FILE")]
snapshot_path: Option<PathBuf>,
/// If true, no authentication is needed for snapshot restores
#[arg(
Expand Down

0 comments on commit e399634

Please sign in to comment.