From 2fd0a7de937c2534b1218e874a3a6128f813371b Mon Sep 17 00:00:00 2001 From: Kevin Pulo Date: Mon, 8 Feb 2021 16:30:56 +1100 Subject: [PATCH] Fix version reporting in -h and -v. --- i3status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3status.c b/i3status.c index bf2f1cd..0e74eac 100644 --- a/i3status.c +++ b/i3status.c @@ -510,13 +510,13 @@ int main(int argc, char *argv[]) { configfile = optarg; break; case 'h': - printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n" + printf("i3status " I3STATUS_VERSION " © 2008 Michael Stapelberg and contributors\n" "Syntax: %s [-c ] [-h] [-v]\n", argv[0]); return 0; break; case 'v': - printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n" + printf("i3status " I3STATUS_VERSION " © 2008 Michael Stapelberg and contributors\n" #if HAS_PULSEAUDIO "Built with pulseaudio support\n" #else