KScript docs
EN

Error codes

KS5004

A call has too few or too many arguments. The message shows what the function takes. An argument with ? or a default can be left out. For a one-of group such as add|remove: file, pass one of its names: @file(4, add: $f).