Skip to content

Commit

Permalink
Add arg alias
Browse files Browse the repository at this point in the history
  • Loading branch information
quietvoid committed Mar 12, 2024
1 parent 6ca0038 commit 17aefc2
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 @@ -21,7 +21,9 @@ struct Opt {

#[arg(
id = "variable",
visible_alias = "arg",
short = 'v',
visible_short_alias = 'a',
help = "Variables to set in the script environment. Example: `-v key=value`",
value_delimiter = ','
)]
Expand Down

0 comments on commit 17aefc2

Please sign in to comment.