Skip to content

Commit 000a611

Browse files
authored
fix: add --version back (#80)
Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 98b9408 commit 000a611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::str::FromStr;
88
///
99
/// Exits non-zero if a sub-command failed.
1010
#[derive(Debug, Parser)]
11-
#[clap(name = "mdsh")]
11+
#[clap(name = "mdsh", version = env!("CARGO_PKG_VERSION"))]
1212
pub struct Opt {
1313
/// Path to the markdown files. `-` for stdin.
1414
#[clap(

0 commit comments

Comments
 (0)