sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 87bc707e9b21a6b06c8aec2c0ff1e823abf9bda4
parent 2bd561d2b71830b1be5546112faf035383c8615e
Author: emersion <contact@emersion.fr>
Date:   Wed, 10 Oct 2018 10:57:45 +0200

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

Fix program name in version strings
Diffstat:
Mswaybar/main.c | 2+-
Mswaymsg/main.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/swaybar/main.c b/swaybar/main.c @@ -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 diff --git a/swaymsg/main.c b/swaymsg/main.c @@ -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: