From b65bdaba9e51617a8fae0ee59ab8925e02651f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Barancsuk?= Date: Sat, 1 Sep 2018 17:06:05 +0200 Subject: [PATCH] Use `enumargs` --- pkg/core/commands.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/core/commands.json b/pkg/core/commands.json index 9bbeb20e..2e68a968 100644 --- a/pkg/core/commands.json +++ b/pkg/core/commands.json @@ -1522,16 +1522,16 @@ "type": "string" }, { - "command": "RAW", "name": [], - "type": [], - "optional": true - }, - { - "command": "STR", - "name": [], - "type": [], - "optional": true + "optional": true, + "enumargs": [ + { + "name": "RAW" + }, + { + "name": "STR" + } + ] } ], "group": "keys"