From 720cc0545b6c944ce4e03e3c860929185d705d53 Mon Sep 17 00:00:00 2001 From: Jerome Simeon Date: Mon, 28 Oct 2019 10:26:48 -0400 Subject: [PATCH] fix(CLI) compile use new 'target' option rather than 'format' Signed-off-by: Jerome Simeon --- packages/concerto-cli/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/concerto-cli/index.js b/packages/concerto-cli/index.js index e2a8f7f1d5..862dda735d 100755 --- a/packages/concerto-cli/index.js +++ b/packages/concerto-cli/index.js @@ -76,10 +76,10 @@ require('yargs') }); }, (argv) => { if (argv.verbose) { - Logger.info(`generate code in format ${argv.format} from models ${argv.ctoFiles} into directory: ${argv.output}`); + Logger.info(`generate code for target ${argv.target} from models ${argv.ctoFiles} into directory: ${argv.output}`); } - return Commands.compile(argv.format, argv.ctoSystem, argv.ctoFiles, argv.output) + return Commands.compile(argv.target, argv.ctoSystem, argv.ctoFiles, argv.output) .then((result) => { Logger.info(result); })