Skip to content

Commit

Permalink
add #47
Browse files Browse the repository at this point in the history
  • Loading branch information
deniz committed Jan 31, 2024
1 parent 7bbc45b commit 6d6e1c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::app::BaseApp;
pub struct Args {
/// Only print the version
#[arg(long)]
plain: bool,
pub plain: bool,
}

pub async fn run(base_app: BaseApp, args: Args) -> Result<()> {
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ mod sources;
mod util;

#[derive(clap::Parser)]
#[clap(name = "mcman", version)]
#[command(author = "ParadigmMC", color = clap::ColorChoice::Always)]
#[command(about = "Powerful Minecraft Server Manager CLI")]
#[command(after_help = "To start building servers, try 'mcman init'")]
Expand Down

0 comments on commit 6d6e1c0

Please sign in to comment.