Enabled the possibility to add shell script options to shell endpoint

This commit is contained in:
MatteoBiscosi 2021-09-09 16:36:16 +02:00
parent 0c03b025ee
commit 82ef961bf6
4 changed files with 15 additions and 4 deletions

View file

@ -19,7 +19,7 @@ local script = {}
function script.getAdditionalParameters(http_lint)
return {
["shell_script"] = http_lint.validateEmptyOr(http_lint.validateSingleWord),
["shell_options"] = http_lint.validateEmptyOr(http_lint.validateSingleWord),
["shell_script_options"] = http_lint.validateEmptyOr(http_lint.validateUnquoted),
}
end