mirror of
https://github.com/swaywm/sway.git
synced 2025-01-30 23:05:16 +01:00
Merge pull request #2812 from RyanDwyer/fix-version-messages
Fix program name in version strings
This commit is contained in:
commit
87bc707e9b
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ int main(int argc, char **argv) {
|
||||||
bar_id = strdup(optarg);
|
bar_id = strdup(optarg);
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
fprintf(stdout, "sway version " SWAY_VERSION "\n");
|
fprintf(stdout, "swaybar version " SWAY_VERSION "\n");
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
break;
|
break;
|
||||||
case 'd': // Debug
|
case 'd': // Debug
|
||||||
|
|
|
@ -345,7 +345,7 @@ int main(int argc, char **argv) {
|
||||||
cmdtype = strdup(optarg);
|
cmdtype = strdup(optarg);
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
fprintf(stdout, "sway version " SWAY_VERSION "\n");
|
fprintf(stdout, "swaymsg version " SWAY_VERSION "\n");
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue