aboutsummaryrefslogtreecommitdiff
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:26:10 -0400
commit3ae700046f77fa3c674d5a2d5c810d0d8526dd64 (patch)
treeba4ee666991101258c8c4bfd194b869123ec59f5
parent0109b96e682f6a50ab8d12931ff9f27dedb0e4d2 (diff)
downloadlite-xl-plugin-manager-3ae700046f77fa3c674d5a2d5c810d0d8526dd64.tar.gz
lite-xl-plugin-manager-3ae700046f77fa3c674d5a2d5c810d0d8526dd64.zip
Moved help output to stdout, to be consistent with other unix tools.
-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 .. [[]