Skip to content

Commit

Permalink
Merge branch 'fwcd:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tim1504 authored Apr 24, 2024
2 parents e5a111c + 5e4ae63 commit 22e48d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use logic::OwnLogic;

/// Software Challenge 2024 client.
#[derive(Parser, Debug)]
#[command(disable_help_flag = true)]
struct Args {
/// The game server's host address.
#[clap(short, long, default_value = "localhost")]
Expand All @@ -29,6 +30,9 @@ struct Args {
/// Prints outgoing XML messages to the console for debugging.
#[clap(short = 'D', long)]
debug_writer: bool,
/// Prints this help.
#[clap(long, action = clap::ArgAction::HelpLong)]
help: Option<bool>,
}

fn main() {
Expand Down

0 comments on commit 22e48d5

Please sign in to comment.