Skip to content

Commit f3448bb

Browse files
committed
Include description and version info in CLI
1 parent 9db9c03 commit f3448bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ use clap::Parser;
2626
use matrix_http_rendezvous::{DEFAULT_MAX_BYTES_STR, DEFAULT_MAX_ENTRIES, DEFAULT_TTL};
2727

2828
#[derive(Parser)]
29+
#[command(version, about)]
2930
struct Options {
3031
/// Address on which to listen
3132
#[arg(short, long, default_value_t = IpAddr::V4(Ipv4Addr::LOCALHOST))]

0 commit comments

Comments
 (0)