From a1ef30dec98d10e8a36b3d86c5d7807e81b910dc Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Tue, 4 Jun 2024 16:55:40 -0400 Subject: [PATCH] fix: invalid arg parsing --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 1487fcb..9c578e1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, }