From 541cd906f76287919c45d3d89019e7e8c087f334 Mon Sep 17 00:00:00 2001 From: Valdis Vitolins Date: Thu, 9 Apr 2020 17:24:37 +0300 Subject: [PATCH] Issue #686: make description of --stdin more clear --- src/espeak-ng.1.ronn | 6 +++--- src/espeak-ng.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/espeak-ng.1.ronn b/src/espeak-ng.1.ronn index 23fb279c..d478791e 100644 --- a/src/espeak-ng.1.ronn +++ b/src/espeak-ng.1.ronn @@ -22,10 +22,10 @@ languages. Text file to speak. * `--stdin`: - Read text input from stdin instead of a file. + Read text input from stdin till to the end of a stream at once. -If neither -f nor --stdin are provided, <words> are spoken, or if no -words are provided then text is spoken from stdin a line at a time. +If neither -f nor --stdin are provided, then <words> from parameter are spoken, +or text is spoken from stdin, read separately one line by line at a time. * `-d `: Use the specified device to speak the audio on. If not specified, the diff --git a/src/espeak-ng.c b/src/espeak-ng.c index 3a7838cf..1634cc1d 100644 --- a/src/espeak-ng.c +++ b/src/espeak-ng.c @@ -49,9 +49,9 @@ extern ESPEAK_NG_API int GetFileLength(const char *filename); static const char *help_text = "\n" PROGRAM_NAME " [options] [\"\"]\n\n" "-f Text file to speak\n" - "--stdin Read text input from stdin instead of a file\n\n" - "If neither -f nor --stdin, then are spoken, or if none then text\n" - "is spoken from stdin, each line separately.\n\n" + "--stdin Read text input from stdin at once till to the end of a stream.\n\n" + "If neither -f nor --stdin are provided, then from arguments are spoken,\n" + "or text is spoken from stdin, read separately one line by line at a time.\n\n" "-a \n" "\t Amplitude, 0 to 200, default is 100\n" "-d \n"