diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-12-18 10:55:24 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-02-08 19:49:11 -0500 |
commit | ed17763e72b7a9508432e341cb4aca1b2186d329 (patch) | |
tree | a2f98dcd0dbc309a840d6575a49518bf5cc9b5a5 /src/doc_reform/spine.d | |
parent | dmd releaseMode results in runtime errors (diff) |
cosmetic primarily "format"
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-x | src/doc_reform/spine.d | 8 |
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(); |