Skip to content

Commit

Permalink
feat: ✨ Make them all arguments for clap because they are all required
Browse files Browse the repository at this point in the history
  • Loading branch information
AntwortEinesLebens committed Oct 19, 2024
1 parent 5336264 commit ae8abfd
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions src/actions/drivers/byovd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,11 @@ use windows::{

#[derive(Debug, Parser)]
pub struct Byovd {
#[clap(
short = 'n',
long,
required = true,
help = "Internal Name of the service"
)]
#[clap(required = true, help = "Internal Name of the service")]
internal: String,
#[clap(
short = 'd',
long,
required = true,
help = "Displayed Name of the service"
)]
#[clap(required = true, help = "Displayed Name of the service")]
display: String,
#[clap(
short = 'p',
long,
required = true,
help = "Full path to the driver eg: c:\\temp..."
)]
#[clap(required = true, help = "Full path to the driver eg: c:\\temp...")]
path: String,
}

Expand Down

0 comments on commit ae8abfd

Please sign in to comment.