diff options
Diffstat (limited to 'src/doc_reform/doc_reform.d')
-rwxr-xr-x | src/doc_reform/doc_reform.d | 12 |
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(); } |