Fix version reporting in -h and -v.
This commit is contained in:
parent
30a32cce3a
commit
2fd0a7de93
@ -510,13 +510,13 @@ int main(int argc, char *argv[]) {
|
|||||||
configfile = optarg;
|
configfile = optarg;
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n"
|
printf("i3status " I3STATUS_VERSION " © 2008 Michael Stapelberg and contributors\n"
|
||||||
"Syntax: %s [-c <configfile>] [-h] [-v]\n",
|
"Syntax: %s [-c <configfile>] [-h] [-v]\n",
|
||||||
argv[0]);
|
argv[0]);
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
printf("i3status " VERSION " © 2008 Michael Stapelberg and contributors\n"
|
printf("i3status " I3STATUS_VERSION " © 2008 Michael Stapelberg and contributors\n"
|
||||||
#if HAS_PULSEAUDIO
|
#if HAS_PULSEAUDIO
|
||||||
"Built with pulseaudio support\n"
|
"Built with pulseaudio support\n"
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user