commit 5023abe2df56ee0937ab00c7d044274848e3f440
parent 46a5092eee736c9edf4283dd20303f2d7d5c98b6
Author: Göran Gustafsson <gustafsson.g@gmail.com>
Date: Tue, 7 Jun 2022 20:33:05 +0200
Print usage info to stdout instead of stderr
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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"