Merge pull request #1391 from ggustafsson/feat/usage-stdout-fix

Print usage info to stdout instead of stderr
This commit is contained in:
Arun 2022-06-08 02:54:27 +05:30 committed by GitHub
commit 88306e2d9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8149,7 +8149,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"