Skip to content

Commit

Permalink
Set correct value hint for --rm-files option
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Jan 29, 2024
1 parent 71cdbcd commit ea0c972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub struct CliArgs {
#[arg(
short = 'R',
long = "rm-files",
value_hint = ValueHint::FilePath,
value_hint = ValueHint::DirPath,
num_args(0..=1),
value_delimiter(','),
env = "MINISERVE_ALLOWED_RM_DIR"
Expand Down

0 comments on commit ea0c972

Please sign in to comment.