From: Ian Jackson Date: Wed, 2 Jun 2021 00:17:58 +0000 (+0100) Subject: otter cli: Make Subcommand Debug X-Git-Tag: otter-0.7.0~120 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ad9be86cc147e11174ad33330462d44c745949d4;p=otter.git otter cli: Make Subcommand Debug Signed-off-by: Ian Jackson --- 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 { }