diff --git a/rust/sbp2json/src/bin/json2json.rs b/rust/sbp2json/src/bin/json2json.rs index 6a51c409d3..3198933fb1 100644 --- a/rust/sbp2json/src/bin/json2json.rs +++ b/rust/sbp2json/src/bin/json2json.rs @@ -17,7 +17,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; /// /// cat console-json-log.json | json2json #[derive(Debug, Parser)] -#[clap(name = "json2json", verbatim_doc_comment)] +#[clap(name = "json2json", verbatim_doc_comment, version)] struct Options { /// Path to input file input: Option, diff --git a/rust/sbp2json/src/bin/json2sbp.rs b/rust/sbp2json/src/bin/json2sbp.rs index de54da0f3e..7460da629d 100644 --- a/rust/sbp2json/src/bin/json2sbp.rs +++ b/rust/sbp2json/src/bin/json2sbp.rs @@ -16,7 +16,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; /// /// cat sbp.json | json2sbp #[derive(Debug, Parser)] -#[clap(name = "json2sbp", verbatim_doc_comment)] +#[clap(name = "json2sbp", verbatim_doc_comment, version)] struct Options { /// Path to input file input: Option, diff --git a/rust/sbp2json/src/bin/sbp2json.rs b/rust/sbp2json/src/bin/sbp2json.rs index c3ea45bbcf..a2851da373 100644 --- a/rust/sbp2json/src/bin/sbp2json.rs +++ b/rust/sbp2json/src/bin/sbp2json.rs @@ -21,7 +21,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; /// /// socat tcp:192.168.1.222:55555 - | sbp2json #[derive(Debug, Parser)] -#[structopt(name = "sbp2json", verbatim_doc_comment)] +#[structopt(name = "sbp2json", verbatim_doc_comment, version)] pub struct Options { /// Path to input file input: Option,