diff -r a6337902e2ca -r 8ef1980db907 src/relpipe-in-jack.cpp --- a/src/relpipe-in-jack.cpp Sat Jun 06 01:50:42 2020 +0200 +++ b/src/relpipe-in-jack.cpp Tue Sep 29 22:53:08 2020 +0200 @@ -21,6 +21,8 @@ #include #include +#include "Configuration.h" +#include "CLIParser.h" #include "JackException.h" #include "JackCommand.h" @@ -44,7 +46,9 @@ try { signal(SIGHUP, finish); signal(SIGINT, finish); - jackCommand.reset(new JackCommand()); + CLIParser cliParser; + Configuration configuration = cliParser.parse(cli.arguments()); + jackCommand.reset(new JackCommand(configuration)); std::shared_ptr writer(Factory::create(std::cout)); jackCommand->processJackStream(writer, std::bind(fflush, stdout)); // std::bind(fflush, XXX) Factory::create(XXX) must be the same stream XXX resultCode = CLI::EXIT_CODE_SUCCESS;