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

Fix program name in version strings
master
emersion 6 years ago committed by GitHub
commit 87bc707e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save