Skip to content

Commit

Permalink
Fix crash when config path is specified on command line
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Feb 28, 2024
1 parent c95dcbf commit 391c3ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Unreleased
==========

- Fix crash when specifying config file path on command line

0.5.2 (2024-01-15)
==================

Expand Down
3 changes: 2 additions & 1 deletion src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ fn app() -> clap::Command {
.short('c')
.long("config")
.num_args(1)
.value_name("CONFIG_FILE"),
.value_name("CONFIG_FILE")
.value_parser(clap::value_parser!(PathBuf)),
)
.subcommand(
clap::Command::new("build")
Expand Down

0 comments on commit 391c3ee

Please sign in to comment.