@@ -31,14 +31,14 @@ require_once __DIR__ . '/../vendor/autoload.php';
3131 ->addOption ('outputDir ' , 'o ' , InputOption::VALUE_REQUIRED , 'Output directory ' , './.annotated ' )
3232 ->addOption ('inputDir ' , 'i ' , InputOption::VALUE_REQUIRED , 'Directory containing the files to annotate ' , '. ' )
3333 ->addOption ('linkPrefix ' , 'l ' , InputOption::VALUE_REQUIRED , 'Prefix for links in the output ' )
34- ->addOption ('mixAnnotationIntoSource ' , 'm ' , InputOption::VALUE_NONE , 'Include all lua source files, and add class annotations to the source files ' )
34+ ->addOption ('mixAnnotationsIntoSource ' , 'm ' , InputOption::VALUE_NONE , 'Include all lua source files, and add class annotations to the source files ' )
3535 ->setCode (function (InputInterface $ input , ConsoleOutput $ output ) {
3636 $ io = new SymfonyStyle ($ input , $ output );
3737
3838 $ outputDir = $ input ->getOption ('outputDir ' );
3939 $ inputDir = $ input ->getOption ('inputDir ' );
4040 $ linkPrefix = $ input ->getOption ('linkPrefix ' );
41- $ mixAnnotationIntoSource = $ input ->getOption ('mixAnnotationIntoSource ' );
41+ $ mixAnnotationsIntoSource = $ input ->getOption ('mixAnnotationsIntoSource ' );
4242 try {
4343 $ flavor = FlavorEnum::from ($ input ->getArgument ('flavor ' ));
4444 } catch (Throwable ) {
@@ -86,7 +86,7 @@ require_once __DIR__ . '/../vendor/autoload.php';
8686 $ templateRegistry = new Registry ();
8787 $ frameRegistry = new Registry ();
8888 $ xmlFileParser = new XmlFileParser ($ intrinsicRegistry , $ templateRegistry , $ frameRegistry );
89- $ luaFileParser = new LuaFileParser ($ mixAnnotationIntoSource );
89+ $ luaFileParser = new LuaFileParser ($ mixAnnotationsIntoSource );
9090
9191 $ io ->writeln ('Parsing files... ' );
9292 $ progressBar = $ io ->createProgressBar (count ($ fileList ));
0 commit comments