From 9f86015c162360e0ac89771a4fed78ce03a55f76 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 20 Jun 2021 10:25:40 +0530 Subject: [PATCH] Print version to stdout --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index f236a666..a54ea93c 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7938,7 +7938,7 @@ int main(int argc, char *argv[]) g_state.uidgid = 1; break; case 'V': - msg(VERSION); + dprintf(STDOUT_FILENO, "%s\n", VERSION); return EXIT_SUCCESS; case 'w': cfg.cursormode = 1;