From dbc8e83429bece54245819327650867f4c8ea359 Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Sat, 30 Jan 2021 02:21:58 -0800
Subject: [PATCH] I said, usage to stdout.

---
 src/sbbs3/jsexec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/jsexec.c b/src/sbbs3/jsexec.c
index 627c774106..7d87ec79f0 100644
--- a/src/sbbs3/jsexec.c
+++ b/src/sbbs3/jsexec.c
@@ -103,9 +103,9 @@ void banner(FILE* fp)
 
 void usage()
 {
-	banner(stderr);
+	banner(stdout);
 
-	fprintf(stderr, "\nusage: " PROG_NAME_LC " [-opts] [[path/]module[.js] or -Ijs-expression] [args]\n"
+	fprintf(stdout, "\nusage: " PROG_NAME_LC " [-opts] [[path/]module[.js] or -Ijs-expression] [args]\n"
 		"\navailable opts:\n\n"
 #ifdef JSDOOR
 		"    -c<ctrl_dir>   specify path to CTRL directory\n"
-- 
GitLab