mirror of
https://github.com/swaywm/sway.git
synced 2025-01-29 22:35:20 +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);
|
||||
break;
|
||||
case 'v':
|
||||
fprintf(stdout, "sway version " SWAY_VERSION "\n");
|
||||
fprintf(stdout, "swaybar version " SWAY_VERSION "\n");
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
case 'd': // Debug
|
||||
|
|
|
@ -345,7 +345,7 @@ int main(int argc, char **argv) {
|
|||
cmdtype = strdup(optarg);
|
||||
break;
|
||||
case 'v':
|
||||
fprintf(stdout, "sway version " SWAY_VERSION "\n");
|
||||
fprintf(stdout, "swaymsg version " SWAY_VERSION "\n");
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue