Skip to content

Commit

Permalink
feat(host): Print target OS & arch in -v output
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederick888 committed Jul 15, 2022
1 parent e0cba70 commit 8f1155f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ fn main() -> anyhow::Result<()> {
match arg.as_str() {
"-v" | "--version" => {
println!(
"External Editor Revived native messaging host v{}",
"External Editor Revived native messaging host for {} ({}) v{}",
env::consts::OS,
env::consts::ARCH,
env!("CARGO_PKG_VERSION")
);
return Ok(());
Expand Down

0 comments on commit 8f1155f

Please sign in to comment.