Skip to content

Commit

Permalink
Move conflcts to file_path
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonmx committed Jan 31, 2024
1 parent c058c6c commit 0fedd72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pub struct Args {
value_name = "DIRECTORY",
value_hint = clap::ValueHint::DirPath,
value_parser = parse_skeleton_config,
conflicts_with = "file_path",
)]
pub skeleton_config: Option<Config>,

Expand All @@ -27,7 +26,7 @@ pub struct Args {
value_name = "FILE",
value_hint = clap::ValueHint::FilePath,
value_parser = parse_file_path,
conflicts_with = "output_path",
conflicts_with_all = ["skeleton_config", "output_path"],
)]
pub file_path: Option<PathBuf>,

Expand Down

0 comments on commit 0fedd72

Please sign in to comment.