From 0327846101d6674b799547d5e30a8a2f1c68a9d6 Mon Sep 17 00:00:00 2001 From: Larry Dewey Date: Tue, 11 Jun 2024 10:50:04 -0500 Subject: [PATCH] show: Patching bug from clap migration During the clap migration, a bug was introduced when implementing clap. This should fix the issue where only help is displayed on the commands. Signed-off-by: Larry Dewey --- src/main.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7dde550..8ff56db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -278,22 +278,18 @@ mod reset { mod show { use super::*; - #[derive(Subcommand)] + #[derive(Parser)] pub enum Show { /// Show the current platform flags - #[command(subcommand)] Flags, /// Show the current number of guests - #[command(subcommand)] Guests, /// Show the platform identifier - #[command(subcommand)] Identifier, /// Show the platform's firmware version - #[command(subcommand)] Version, }