Skip to content

Commit

Permalink
Update src/bin/server.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
gillchristian authored Jul 1, 2024
1 parent 78aee08 commit d8c4630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const PORT: u16 = 6379;

#[derive(Parser, Debug)]
struct Args {
/// The port to listen on
#[arg(short, long, default_value_t = PORT)]
port: u16,
}
Expand Down

0 comments on commit d8c4630

Please sign in to comment.