mirror of
https://github.com/zaphar/clio.git
synced 2025-07-22 03:59:50 -04:00
fix: invalid arg parsing
This commit is contained in:
parent
1f40f51079
commit
a1ef30dec9
@ -36,11 +36,7 @@ struct Args {
|
|||||||
stdout_path: PathBuf,
|
stdout_path: PathBuf,
|
||||||
#[arg(long = "sig", value_enum, help="Signal notifiying that the file paths have been rotated", default_value_t = HandledSignals::SIGHUP)]
|
#[arg(long = "sig", value_enum, help="Signal notifiying that the file paths have been rotated", default_value_t = HandledSignals::SIGHUP)]
|
||||||
rotated_signal: HandledSignals,
|
rotated_signal: HandledSignals,
|
||||||
#[arg(
|
#[arg(last = true, help="Command to run")]
|
||||||
long = "size",
|
|
||||||
help = "Optional size at which to rotate the files, conficts with --sig",
|
|
||||||
conflicts_with = "rotated_signal"
|
|
||||||
)]
|
|
||||||
cmd: Vec<String>,
|
cmd: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user