diff options
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/swaybar/main.c b/swaybar/main.c index a2168743..0abd0755 100644 --- a/swaybar/main.c +++ b/swaybar/main.c | |||
@@ -63,11 +63,7 @@ int main(int argc, char **argv) { | |||
63 | bar_id = strdup(optarg); | 63 | bar_id = strdup(optarg); |
64 | break; | 64 | break; |
65 | case 'v': | 65 | case 'v': |
66 | #if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE | 66 | fprintf(stdout, "sway version " SWAY_VERSION "\n"); |
67 | fprintf(stdout, "sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH); | ||
68 | #else | ||
69 | fprintf(stdout, "version not detected\n"); | ||
70 | #endif | ||
71 | exit(EXIT_SUCCESS); | 67 | exit(EXIT_SUCCESS); |
72 | break; | 68 | break; |
73 | case 'd': // Debug | 69 | case 'd': // Debug |