mirror of
https://github.com/zaphar/clio.git
synced 2025-07-21 19:50:21 -04:00
fix: invalid arg parsing
This commit is contained in:
parent
1f40f51079
commit
a1ef30dec9
@ -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>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user