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); 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…
Cancel
Save