From 9f56ca43aad7a6b69430a261e270e5703310f84d Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 20 Jun 2023 15:25:55 -0400 Subject: Moved help output to stdout, to be consistent with other unix tools. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index f3b69f4..4f5a87b 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1884,7 +1884,7 @@ xpcall(function() return 0 end if ARGS["help"] or #ARGS == 1 or ARGS[2] == "help" then - io.stderr:write([[ + io.stdout:write([[ Usage: lpm COMMAND [...ARGUMENTS] [--json] [--userdir=directory] [--cachedir=directory] [--quiet] [--version] [--help] [--remotes] [--ssl-certs=directory/file] [--force] [--arch=]] .. _G.ARCH .. [[] -- cgit v1.2.3