fix: invalid arg parsing

This commit is contained in:
Jeremy Wall 2024-06-04 16:55:40 -04:00
parent 1f40f51079
commit a1ef30dec9

View File

@ -36,11 +36,7 @@ struct Args {
stdout_path: PathBuf,
#[arg(long = "sig", value_enum, help="Signal notifiying that the file paths have been rotated", default_value_t = HandledSignals::SIGHUP)]
rotated_signal: HandledSignals,
#[arg(
long = "size",
help = "Optional size at which to rotate the files, conficts with --sig",
conflicts_with = "rotated_signal"
)]
#[arg(last = true, help="Command to run")]
cmd: Vec<String>,
}