diff --git a/crates/fayalite/src/cli.rs b/crates/fayalite/src/cli.rs index 5071279..d1bbfb1 100644 --- a/crates/fayalite/src/cli.rs +++ b/crates/fayalite/src/cli.rs @@ -8,7 +8,7 @@ use crate::{ }; use clap::{ builder::{OsStringValueParser, TypedValueParser}, - Args, Parser, Subcommand, ValueEnum, ValueHint, + Parser, Subcommand, ValueEnum, ValueHint, }; use eyre::{eyre, Report}; use std::{error, ffi::OsString, fmt, io, path::PathBuf, process}; @@ -42,7 +42,7 @@ pub trait RunPhase { fn run(&self, arg: Arg) -> Result; } -#[derive(Args, Debug)] +#[derive(Parser, Debug, Clone)] #[non_exhaustive] pub struct BaseArgs { /// the directory to put the generated main output file and associated files in @@ -62,7 +62,7 @@ impl BaseArgs { } } -#[derive(Args, Debug)] +#[derive(Parser, Debug, Clone)] #[non_exhaustive] pub struct FirrtlArgs { #[command(flatten)] @@ -140,7 +140,7 @@ impl VerilogDialect { } } -#[derive(Args, Debug)] +#[derive(Parser, Debug, Clone)] #[non_exhaustive] pub struct VerilogArgs { #[command(flatten)]