Hello, On Tue, Aug 19, 2025 at 11:23:32AM +0300, nkurash...@stsoft.ru wrote: > From: Nikita Kurashkin <nkurash...@stsoft.ru> > > This patch introduces two new CLI flags to display HAProxy version info in a > cleaner way: > > - `-vq` outputs a short, minimal version string (e.g., "3.3"). > - `-vql` outputs the full version string with suffixes (e.g., > "3.3-dev5-1bb975-71"). > > This addresses the need for easy parsing of version info in automation > without breaking existing -v and -vv behaviors (see #2509). > > In CLI argument parsing, handle `-vq` and `-vql` by calling > `display_version_plain()` > with a flag indicating short or full output, then exit. This function prints > only > the version number in a simplified format, omitting extra info shown by > `display_version()`.
I don't have much opinion on this, what is your need that justifies to have multiple output formats for the version precisely ? Thanks, Willy