Browse Source

Remove fully qualified derive

pull/21/head
Steve Cook 2 years ago
parent
commit
9aa632622c
  1. 4
      src/command.rs

4
src/command.rs

@ -1,4 +1,4 @@
use clap::{AppSettings, Parser, ValueEnum}; use clap::{AppSettings, Parser, ValueEnum, Args};
use std::fmt::{Display, Formatter}; use std::fmt::{Display, Formatter};
#[derive(Parser)] #[derive(Parser)]
@ -9,7 +9,7 @@ pub enum Cargo {
Input(Input), Input(Input),
} }
#[derive(clap::Args)] #[derive(Args)]
#[clap(about)] #[clap(about)]
#[clap(global_setting(AppSettings::AllowLeadingHyphen))] #[clap(global_setting(AppSettings::AllowLeadingHyphen))]
pub struct Input { pub struct Input {

Loading…
Cancel
Save