diff --git a/examples/catch-all/src/bashly.yml b/examples/catch-all/src/bashly.yml index 0b7bfef0..541b0518 100644 --- a/examples/catch-all/src/bashly.yml +++ b/examples/catch-all/src/bashly.yml @@ -8,8 +8,7 @@ catch_all: true args: - name: message required: true - default: [""] - x_a: + help: Message flags: - long: --debug diff --git a/schemas/bashly.json b/schemas/bashly.json index 716d9fe1..345a037d 100644 --- a/schemas/bashly.json +++ b/schemas/bashly.json @@ -41,7 +41,18 @@ "default": { "title": "default", "description": "A default value of the current positional argument\nhttps://bashly.dannyb.co/configuration/argument/#default", - "type": "string", + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + } + ], "examples": [ "*.jpg" ]