aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/spine.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-xsrc/doc_reform/spine.d8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d
index 134854e..8108acb 100755
--- a/src/doc_reform/spine.d
+++ b/src/doc_reform/spine.d
@@ -514,19 +514,15 @@ void main(string[] args) {
return program_name;
}
string ver() {
- string ver_ = format(
- "%s.%s.%s",
+ return format("%s.%s.%s",
_ver.major, _ver.minor, _ver.patch,
);
- return ver_;
}
string compiler() {
- string ver_ = format(
- "%s D:%s, %s %s",
+ return format ("%s D:%s, %s %s",
__VENDOR__, __VERSION__,
bits, os,
);
- return ver_;
}
}
return ProgramInfo();