diff options
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index dc9b22a..4d3af58 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -340,7 +340,7 @@ int main(int argc, char *argv[]) struct timeval mnsc_time; - /* TODO: + /* TODO: * In a SFN, when reconfiguring the ensemble, the multiplexer * has to be restarted (odr-dabmux doesn't support reconfiguration). * Ideally, we must be able to restart transmission s.t. the receiver @@ -354,6 +354,11 @@ int main(int argc, char *argv[]) if (argc == 2) { // Assume the only argument is a config file string conf_file = argv[1]; + if (conf_file == "-h") { + printUsage(argv[0], stdout); + throw MuxInitException(); + } + try { parse_configfile(conf_file, outputs, ensemble, &enableTist, &FICL, &factumAnalyzer, &limit, &rc, &statsserverport, &edi_conf); |