mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 02:52:20 +00:00
Make error message more consistent
This commit is contained in:
@@ -255,7 +255,7 @@ local add_help_command = {"add_help_command", function(self, value)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
help:error(("invalid command: %s"):format(cmd))
|
help:error(("unknown command '%s'"):format(cmd))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
if value ~= true then
|
if value ~= true then
|
||||||
|
Reference in New Issue
Block a user