aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-03 15:26:48 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-03 15:26:48 +0100
commita371dac335ac4b312c0a395ded38b1b27578a360 (patch)
treeb8670d12935cfa32de41fced345d14bfa4079842 /src/utils.cpp
parent05454bf22cf3e26ad4b12638dfed00e0a9377acc (diff)
downloaddabmux-a371dac335ac4b312c0a395ded38b1b27578a360.tar.gz
dabmux-a371dac335ac4b312c0a395ded38b1b27578a360.tar.bz2
dabmux-a371dac335ac4b312c0a395ded38b1b27578a360.zip
replace CRC-DabMux-cfg by -e configuration option
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 76f891f..705d0cb 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -124,6 +124,11 @@ void printUsage(char *name, FILE* out)
fprintf(out, "NAME\n");
fprintf(out, " %s - A software DAB multiplexer\n", name);
fprintf(out, "\nSYNOPSYS\n");
+ fprintf(out, " You can use either a configuration file, or the command line arguments\n");
+ fprintf(out, " With external configuration file:\n");
+ fprintf(out, " %s -e configuration.mux\n", name);
+ fprintf(out, " See doc/example.config for an example format for the configuration file\n");
+ fprintf(out, " With command line arguments:\n");
fprintf(out, " %s"
" [ensemble]"
" [subchannel1 subchannel2 ...]"
@@ -170,7 +175,7 @@ void printUsage(char *name, FILE* out)
"\n");
fprintf(out, "\nDESCRIPTION\n");
fprintf(out,
- " %s is a software multiplexer that generates an ETI stream from\n"
+ " %s is a software multiplexer that generates an ETI stream from\n"
" audio and data streams. Because of its software based architecture,\n"
" many typical DAB services can be generated and multiplexed on a single\n"
" PC platform with live or pre-recorded sources.\n"
@@ -269,15 +274,6 @@ void printUsage(char *name, FILE* out)
);
}
-void printUsageConfigfile(char *name, FILE* out)
-{
- fprintf(out, "NAME\n");
- fprintf(out, " %s - A software DAB multiplexer\n", name);
- fprintf(out, "\nSYNOPSYS\n");
- fprintf(out, " %s configfile\n\n", name);
- fprintf(out, "See doc/example.config for an example format for the configuration file");
-}
-
void printOutputs(vector<dabOutput*>& outputs)
{
vector<dabOutput*>::const_iterator output;