From 5023abe2df56ee0937ab00c7d044274848e3f440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ran=20Gustafsson?= Date: Tue, 7 Jun 2022 20:33:05 +0200 Subject: [PATCH] Print usage info to stdout instead of stderr --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 8500b783..036baeb7 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -8145,7 +8145,7 @@ static void check_key_collision(void) static void usage(void) { - dprintf(STDERR_FILENO, + dprintf(STDOUT_FILENO, "%s: nnn [OPTIONS] [PATH]\n\n" "The unorthodox terminal file manager.\n\n" "positional args:\n"