1) Open cmd.exe
2) Goto the folder containing libreoffice
3) Type `soffice --version`
4) The output appears in a GUI dialog
Build ID: 31dd62db80d4e60af04904455ec9c9219178d620
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default;
Locale: en-US (en_US); Calc: CL
This was reported here.
The version infos are contained in the file version.ini and can be found with the keys "buildid" and "MsiProductVersion"; no need to call soffice at all.
Querying the version number was just an example of what the wrong behaviour should is happening.
It seems that for --help and --version the dialog is intended for non-UNX. It is there from the beginning, see file /desktop/source/app/cmdlinehelp.cxx and its history.
Possibly duplicate of bug 100826?
@Regina: outputting help in the gui dialog to some degree makes sense on windows, but why would the output of the version number be something that should be outputted to a dialog. Even running `soffice --headless --version` or `soffice --invisible --version` still opens the dialog.
@Aron: Why not. :D
*** This bug has been marked as a duplicate of bug 100826 ***