]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: version: report "HAProxy" not "HA-Proxy" in the version output
authorWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 04:14:25 +0000 (06:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 04:14:25 +0000 (06:14 +0200)
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

index 41715c10507f8d088be1ac1316800733f6dcc4a9..c13beb487433ca0fad10a780426d26ffd29dd14e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * HA-Proxy : High Availability-enabled HTTP/TCP proxy
+ * HAProxy : High Availability-enabled HTTP/TCP proxy
  * Copyright 2000-2021 Willy Tarreau <willy@haproxy.org>.
  *
  * 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) {