diff options
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c index 2d2b0f60..efd0ec25 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -230,11 +230,7 @@ int main(int argc, char **argv) { cmdtype = strdup(optarg); break; case 'v': -#if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE - fprintf(stdout, "sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH); -#else - fprintf(stdout, "version not detected\n"); -#endif + fprintf(stdout, "sway version " SWAY_VERSION "\n"); exit(EXIT_SUCCESS); break; default: |