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 authored and tylerfanelli committed Jun 12, 2024
1 parent 1e53a5a commit 0fbbd46
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 @@ -295,22 +295,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 0fbbd46

Please sign in to comment.