From ad9be86cc147e11174ad33330462d44c745949d4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 2 Jun 2021 01:17:58 +0100 Subject: [PATCH] otter cli: Make Subcommand Debug Signed-off-by: Ian Jackson --- src/bin/otter.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 4e472add..3a1dbb5d 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -145,6 +145,7 @@ impl MainOpts { struct NoArgs { } fn noargs(_sa: &mut NoArgs) -> ArgumentParser { ArgumentParser::new() } +#[derive(Debug)] pub struct Subcommand { pub verb: &'static str, pub help: &'static str, @@ -153,7 +154,7 @@ pub struct Subcommand { } inventory::collect!(Subcommand); -#[derive(Default)] +#[derive(Default,Debug)] pub struct SubcommandProperties { } -- 2.30.2