ldc-developers/ldc

Reduce output of `ldc2 --version`

Geod24 opened this issue · 0 comments

This might be a nitpick, but when I type ldc2 --version in terminal, I always have to scroll up to get to the useful bit:

LDC - the LLVM D compiler (1.39.0):
  based on DMD v2.109.1 and LLVM 18.1.6
  built with LDC - the LLVM D compiler (1.39.0)
  Default target: x86_64-unknown-linux-gnu
  Host CPU: alderlake
  http://dlang.org - http://wiki.dlang.org/LDC

I care mostly about the frontend version, LDC's own version, and perhaps LLVM's version. But I get a wall of registered targets which are of no use to me. Could we separate this output so it fits on a regular laptop screen ?