From a5357cdfa55bae1bc7cf73dac628fe52c29f2337 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 9 May 2021 06:14:25 +0200 Subject: [PATCH] MINOR: version: report "HAProxy" not "HA-Proxy" in the version output When running "haproxy -v", we still get "HA-Proxy" which is the last place where this confusing oddity happens. Being so used to it I didn't even notice it until it was reported to me just after 2.2 but it never got fixed, despite the PRODUCT_NAME macro that is used to report the name in the stats page and in "show info" being already set to "HAProxy" 15 years ago in 1.2.14 with commit e03312613. It's about time to uniformize everything. --- src/haproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/haproxy.c b/src/haproxy.c index 41715c105..c13beb487 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -1,5 +1,5 @@ /* - * HA-Proxy : High Availability-enabled HTTP/TCP proxy + * HAProxy : High Availability-enabled HTTP/TCP proxy * Copyright 2000-2021 Willy Tarreau . * * This program is free software; you can redistribute it and/or @@ -474,7 +474,7 @@ static void display_version() { struct utsname utsname; - printf("HA-Proxy version %s %s - https://haproxy.org/\n" + printf("HAProxy version %s %s - https://haproxy.org/\n" PRODUCT_STATUS "\n", haproxy_version, haproxy_date); if (strlen(PRODUCT_URL_BUGS) > 0) {