From 5dcc94deb58402e1b7b4205dbd294149cc0faec3 Mon Sep 17 00:00:00 2001 From: Antonino Porcino Date: Thu, 7 Jul 2016 10:38:09 +0200 Subject: [PATCH] Multiple --native-target-version in command line argument --- src/options.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/options.js b/src/options.js index 44dc199..21e8281 100644 --- a/src/options.js +++ b/src/options.js @@ -113,7 +113,8 @@ $ rt [ ...] []`, option: 'native-target-version', alias: 'rnv', type: 'String', - default: reactNativeSupport.default, - description: `'React native version to generate code for (${Object.keys(reactNativeSupport).join(', ')})'` + enum: Object.keys(reactNativeSupport), + default: reactNativeSupport.default, + description: `React native version to generate code for (${Object.keys(reactNativeSupport).join(', ')})` }] });