Skip to content

Commit

Permalink
fix --clean
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 17, 2024
1 parent 9b6673e commit 5b933eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devenv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const DEVENV_FLAKE: &str = ".devenv.flake.nix";
#[derive(Parser)]
#[command(
color = clap::ColorChoice::Auto,
// for --clean to work with subcommands
subcommand_precedence_over_arg = true,
dont_delimit_trailing_values = true,
about = format!("https://devenv.sh {}: Fast, Declarative, Reproducible, and Composable Developer Environments", crate_version!())
)]
Expand Down

0 comments on commit 5b933eb

Please sign in to comment.