Skip to content

Commit

Permalink
feat!: allow hyphen values for extra arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Feb 21, 2024
1 parent 0cebd21 commit 922dbb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ pub enum CompatMode {
struct Cli {
/// The name of the script
script: Option<String>,

/// Extra arguments to pass to the script
#[clap(allow_hyphen_values = true)]
extra_args: Option<Vec<String>>,

/// Run pre- and post- scripts
Expand Down

0 comments on commit 922dbb1

Please sign in to comment.