nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9f86015c162360e0ac89771a4fed78ce03a55f76
parent c0ed6d1d04a49147742aabc17788c7b9a09fe8d6
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 20 Jun 2021 10:25:40 +0530

Print version to stdout

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;