From 10cb67f4378968fdfa83ae1e2b59822beb2fb8bb Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Fri, 25 Jul 2025 18:33:42 -0600 Subject: [PATCH] Add dir arg to crash_logs tool --- tools/src/crash_logs.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/src/crash_logs.rs b/tools/src/crash_logs.rs index cda1535..69e79b2 100644 --- a/tools/src/crash_logs.rs +++ b/tools/src/crash_logs.rs @@ -37,7 +37,11 @@ async fn main() { .help("Show about information") .action(clap::ArgAction::SetTrue), ) - .subcommand(Command::new("list").about("Lists the items in the directory")) + .subcommand( + Command::new("list") + .about("Lists the items in the directory") + .arg(Arg::new("dir").required(false).index(1)), + ) .subcommand(Command::new("flush").about("Flushes reports to the directory")) .subcommand( Command::new("pull")