summaryrefslogtreecommitdiffstats
path: root/swaygrab/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaygrab/main.c')
-rw-r--r--swaygrab/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/swaygrab/main.c b/swaygrab/main.c
index 3b8c5651..f901d318 100644
--- a/swaygrab/main.c
+++ b/swaygrab/main.c
@@ -201,11 +201,7 @@ int main(int argc, char **argv) {
201 framerate = atoi(optarg); 201 framerate = atoi(optarg);
202 break; 202 break;
203 case 'v': 203 case 'v':
204#if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE 204 fprintf(stdout, "sway version " SWAY_VERSION "\n");
205 fprintf(stdout, "sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH);
206#else
207 fprintf(stdout, "version not detected\n");
208#endif
209 exit(EXIT_SUCCESS); 205 exit(EXIT_SUCCESS);
210 break; 206 break;
211 default: 207 default: