summaryrefslogtreecommitdiff
path: root/cli/flags.rs
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2020-11-03 02:40:33 +0900
committerGitHub <noreply@github.com>2020-11-02 12:40:33 -0500
commit0e5c8c03ac9290e752d15c23e107bfbd97d03c72 (patch)
tree0c039f911ed7166f50d1ae1943c24fffe40f0ba2 /cli/flags.rs
parente3b096f6f69b4f4d8a4a57fc5da68c53c1cdc7ea (diff)
add commit hash and target to long_version output (#8133)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r--cli/flags.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index de98ee96c..42f8d60d7 100644
--- a/cli/flags.rs
+++ b/cli/flags.rs
@@ -221,8 +221,11 @@ To evaluate code in the shell:
lazy_static! {
static ref LONG_VERSION: String = format!(
- "{}\nv8 {}\ntypescript {}",
+ "{} ({}, {}, {})\nv8 {}\ntypescript {}",
crate::version::DENO,
+ crate::version::GIT_COMMIT_HASH,
+ env!("PROFILE"),
+ env!("TARGET"),
crate::version::v8(),
crate::version::TYPESCRIPT
);