diff options
author | Adam <adamdharrison@gmail.com> | 2022-09-18 17:37:45 -0400 |
---|---|---|
committer | Adam <adamdharrison@gmail.com> | 2022-09-18 17:37:45 -0400 |
commit | da37e3ed1e11853c5133c9851a4fc2dbf2ca8872 (patch) | |
tree | ceb417a9fdb539d0e5fa010151e0534348755103 /lpm.lua | |
parent | d60333f917844e3fedfcdb6c8bba1eb8fc454cd9 (diff) | |
download | lite-xl-plugin-manager-da37e3ed1e11853c5133c9851a4fc2dbf2ca8872.tar.gz lite-xl-plugin-manager-da37e3ed1e11853c5133c9851a4fc2dbf2ca8872.zip |
Committing these before I really screw things up.
Diffstat (limited to 'lpm.lua')
-rw-r--r-- | lpm.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -471,7 +471,7 @@ local function log_warning(message) if not QUIET then io.stderr:write("warning: " .. message .. "\n") end end local function fatal_warning(message) - if not FORCE then error(message) else log_warning(message) end + if not FORCE then error(message .. "; use --force to override") else log_warning(message) end end local function prompt(message) io.stderr:write(message .. " [Y/n]: ") @@ -1108,7 +1108,7 @@ xpcall(function() local ARGS = parse_arguments(ARGV, { json = "flag", userdir = "string", cachedir = "string", version = "flag", verbose = "flag", quiet = "flag", version = "string", ["mod-version"] = "string", remotes = "flag", help = "flag", - remotes = "flag", ssl_certs = "string", force = "string", arch = "string", ["assume-yes"] = "flag" + remotes = "flag", ssl_certs = "string", force = "flag", arch = "string", ["assume-yes"] = "flag" }) if ARGS["version"] then io.stdout:write(VERSION .. "\n") |