Skip to content

Commit

Permalink
cmdline: Add short version of required args
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Fanelli <[email protected]>
  • Loading branch information
tylerfanelli committed Feb 4, 2025
1 parent 271f55d commit 92431db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmdline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ use clap::Parser;
#[command(version, about, long_about = None)]
pub struct Args {
/// Number of vCPUs for the VM.
#[arg(long)]
#[arg(long, short)]
pub cpus: u8,

/// Amount of RAM available to VM.
#[arg(long)]
#[arg(long, short)]
pub memory: u32,

/// Bootloader configuration.
Expand Down

0 comments on commit 92431db

Please sign in to comment.