aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/doc_reform.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-07-20 10:19:50 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-10-17 19:07:20 -0400
commit7f549e075bc5ee5e6c3bacfd94a18c01de91980a (patch)
tree506a4a012e261e5a4c1cf1ca56ba1cbcedaaba59 /src/doc_reform/doc_reform.d
parent0.8.0 name change in code use dr (doc reform) instead of sisu (diff)
processing info
Diffstat (limited to 'src/doc_reform/doc_reform.d')
-rwxr-xr-xsrc/doc_reform/doc_reform.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/doc_reform/doc_reform.d b/src/doc_reform/doc_reform.d
index 6ca50ea..2378785 100755
--- a/src/doc_reform/doc_reform.d
+++ b/src/doc_reform/doc_reform.d
@@ -81,6 +81,7 @@ import std.algorithm;
import std.parallelism;
mixin(import("version.txt"));
mixin CompileTimeInfo;
+string project_name = "DocReform";
string program_name = "doc-reform";
/++
name "doc_reform"
@@ -531,6 +532,9 @@ void main(string[] args) {
auto _opt_action = OptActions();
auto program_info() {
struct ProgramInfo {
+ string project() {
+ return project_name;
+ }
string name() {
return program_name;
}
@@ -541,6 +545,14 @@ void main(string[] args) {
);
return ver_;
}
+ string compiler() {
+ string ver_ = format(
+ "%s D:%s, %s %s",
+ __VENDOR__, __VERSION__,
+ bits, os,
+ );
+ return ver_;
+ }
}
return ProgramInfo();
}