aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-06-20 15:25:55 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-06-20 15:25:55 -0400
commit9f56ca43aad7a6b69430a261e270e5703310f84d (patch)
treeab021674093dd471fc0c2aa4684bdc24472641cf /src
parent6ab6705f8c3a958ae5de159d609b0c2ef5550dae (diff)
downloadlite-xl-plugin-manager-PR/remove-sysconfig.tar.gz
lite-xl-plugin-manager-PR/remove-sysconfig.zip
Moved help output to stdout, to be consistent with other unix tools.PR/remove-sysconfig
Diffstat (limited to 'src')
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
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 .. [[]