Cargo.toml fix

main
E. Almqvist 2 years ago
parent 8f1c2377b9
commit 3f1aa3d65e
  1. 2
      Cargo.toml
  2. 4
      src/cli.rs

@ -9,4 +9,4 @@ edition = "2021"
anyhow = "1"
log = "0.4"
convert-base = "1.1.2"
clap = "3.2.16"
clap = { version = "3.2.16", features = ["derive"] }

@ -1,11 +1,7 @@
use clap::Parser;
#[derive(Parser, Debug)]
#[clap(author, version, about, long_about = None)]
struct Args {
#[clap(short, long, value_parser)]
name: String,
#[clap(short, long, value_parser, defualt_value_t = 1)]
count: u8
}

Loading…
Cancel
Save