From a371dac335ac4b312c0a395ded38b1b27578a360 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 3 Jan 2014 15:26:48 +0100 Subject: replace CRC-DabMux-cfg by -e configuration option --- src/utils.cpp | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/utils.cpp') 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& outputs) { vector::const_iterator output; -- cgit v1.2.3