Skip to content

Commit

Permalink
Improved invalid action response
Browse files Browse the repository at this point in the history
  • Loading branch information
Avril112113 committed Apr 28, 2024
1 parent 1ff62ae commit 80afd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/cli.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function CLI.process(args)
end
local action = CLI.actions[args[1]]
if action == nil then
print(("Action '%s' does not exist."):format(args[1]))
print(("Invalid action '%s'.\nTry 'help' for available actions."):format(args[1]))
return -1
end
return action.handler(args, 2)
Expand Down

0 comments on commit 80afd3b

Please sign in to comment.