Skip to content

Commit ffa51b6

Browse files
committed
fix: allow hyphen values
1 parent 230d7ee commit ffa51b6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
matrix:
2626
rust:
2727
- stable
28-
- beta
29-
- nightly
28+
# - beta
29+
# - nightly
3030

3131
steps:
3232
- name: Checkout code

src/main.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ enum Commands {
4444
/// Run a command in each repository
4545
Run {
4646
/// Command to execute
47-
#[arg(value_name = "COMMAND", help = "Command to execute")]
47+
#[arg(
48+
value_name = "COMMAND",
49+
help = "Command to execute",
50+
allow_hyphen_values = true
51+
)]
4852
command: Option<String>,
4953

5054
/// Name of a recipe defined in config.yaml

0 commit comments

Comments
 (0)