Skip to content

Commit

Permalink
show: Patching bug from clap migration
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
larrydewey committed Jun 11, 2024
1 parent fe8eab3 commit 0327846
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 0327846

Please sign in to comment.