aboutsummaryrefslogtreecommitdiffstats
path: root/src/odr-padenc.cpp
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-08-23 17:19:41 +0200
committerStefan Pöschel <github@basicmaster.de>2017-08-23 17:19:41 +0200
commit4f15498395b178b6134549da91ce72d1c53eaea7 (patch)
tree34295af100851d12d6039faee81cb85e49f68fb1 /src/odr-padenc.cpp
parentcc8f91e4f27a4b66ec69a53fb16ee901803c48d4 (diff)
downloadODR-PadEnc-4f15498395b178b6134549da91ce72d1c53eaea7.tar.gz
ODR-PadEnc-4f15498395b178b6134549da91ce72d1c53eaea7.tar.bz2
ODR-PadEnc-4f15498395b178b6134549da91ce72d1c53eaea7.zip
Print used PAD length to log
Diffstat (limited to 'src/odr-padenc.cpp')
-rw-r--r--src/odr-padenc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp
index cde6ca9..d42d688 100644
--- a/src/odr-padenc.cpp
+++ b/src/odr-padenc.cpp
@@ -65,7 +65,7 @@ static void usage(const char* name) {
" Default: %s\n"
" -t, --dls=FILENAME FIFO or file to read DLS text from.\n"
" If specified more than once, use next file after DELAY seconds.\n"
- " -p, --pad=LENGTH Set the pad length.\n"
+ " -p, --pad=LENGTH Set the PAD length.\n"
" Possible values: %s\n"
" Default: %zu\n"
" -c, --charset=ID ID of the character set encoding used for DLS text input.\n"
@@ -171,16 +171,16 @@ int main(int argc, char *argv[]) {
}
if (options.sls_dir && not options.dls_files.empty()) {
- fprintf(stderr, "ODR-PadEnc encoding Slideshow from '%s' and DLS from %s to '%s'\n",
- options.sls_dir, list_dls_files(options.dls_files).c_str(), options.output);
+ fprintf(stderr, "ODR-PadEnc encoding Slideshow from '%s' and DLS from %s to '%s' (PAD length: %zu)\n",
+ options.sls_dir, list_dls_files(options.dls_files).c_str(), options.output, options.padlen);
}
else if (options.sls_dir) {
- fprintf(stderr, "ODR-PadEnc encoding Slideshow from '%s' to '%s'. No DLS.\n",
- options.sls_dir, options.output);
+ fprintf(stderr, "ODR-PadEnc encoding Slideshow from '%s' to '%s' (PAD length: %zu). No DLS.\n",
+ options.sls_dir, options.output, options.padlen);
}
else if (not options.dls_files.empty()) {
- fprintf(stderr, "ODR-PadEnc encoding DLS from %s to '%s'. No Slideshow.\n",
- list_dls_files(options.dls_files).c_str(), options.output);
+ fprintf(stderr, "ODR-PadEnc encoding DLS from %s to '%s' (PAD length: %zu). No Slideshow.\n",
+ list_dls_files(options.dls_files).c_str(), options.output, options.padlen);
}
else {
fprintf(stderr, "ODR-PadEnc Error: Neither DLS nor Slideshow to encode !\n");