Merge pull request #2812 from RyanDwyer/fix-version-messages

Fix program name in version strings
This commit is contained in:
emersion 2018-10-10 10:57:45 +02:00 committed by GitHub
commit 87bc707e9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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: