Print usage info to stdout instead of stderr

This commit is contained in:
Göran Gustafsson 2022-06-07 20:33:05 +02:00
parent 46a5092eee
commit 5023abe2df

View file

@ -8145,7 +8145,7 @@ static void check_key_collision(void)
static void usage(void) static void usage(void)
{ {
dprintf(STDERR_FILENO, dprintf(STDOUT_FILENO,
"%s: nnn [OPTIONS] [PATH]\n\n" "%s: nnn [OPTIONS] [PATH]\n\n"
"The unorthodox terminal file manager.\n\n" "The unorthodox terminal file manager.\n\n"
"positional args:\n" "positional args:\n"