Skip to content

Commit 720cc05

Browse files
committed
fix(CLI) compile use new 'target' option rather than 'format'
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 3016f3c commit 720cc05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/concerto-cli/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ require('yargs')
7676
});
7777
}, (argv) => {
7878
if (argv.verbose) {
79-
Logger.info(`generate code in format ${argv.format} from models ${argv.ctoFiles} into directory: ${argv.output}`);
79+
Logger.info(`generate code for target ${argv.target} from models ${argv.ctoFiles} into directory: ${argv.output}`);
8080
}
8181

82-
return Commands.compile(argv.format, argv.ctoSystem, argv.ctoFiles, argv.output)
82+
return Commands.compile(argv.target, argv.ctoSystem, argv.ctoFiles, argv.output)
8383
.then((result) => {
8484
Logger.info(result);
8585
})

0 commit comments

Comments
 (0)