Skip to content

Commit 5518968

Browse files
committed
chore: show version
1 parent 3828bc6 commit 5518968

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "static-server"
3-
version = "0.5.0"
3+
version = "0.5.2"
44
edition = "2021"
55
publish = false
66

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use std::str::FromStr;
3434
use tokio::process::Command;
3535

3636
#[derive(Parser, Debug)]
37-
#[clap(name = "static-server", about = "A simple static file server written in Rust based on axum framework.")]
37+
#[clap(name = "static-server", about = "A simple static file server written in Rust based on axum framework.", author, version, long_about = None)]
3838
struct Opt {
3939
/// set the log level
4040
#[clap(short = 'l', long = "log", default_value = "info")]

0 commit comments

Comments
 (0)