Issue #686: make description of --stdin more clear

This commit is contained in:
Valdis Vitolins
2020-04-09 17:27:45 +03:00
parent 875ef11d77
commit 541cd906f7
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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 <device>`:
Use the specified device to speak the audio on. If not specified, the
+3 -3
View File
@@ -49,9 +49,9 @@ extern ESPEAK_NG_API int GetFileLength(const char *filename);
static const char *help_text =
"\n" PROGRAM_NAME " [options] [\"<words>\"]\n\n"
"-f <text file> Text file to speak\n"
"--stdin Read text input from stdin instead of a file\n\n"
"If neither -f nor --stdin, then <words> 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 <words> from arguments are spoken,\n"
"or text is spoken from stdin, read separately one line by line at a time.\n\n"
"-a <integer>\n"
"\t Amplitude, 0 to 200, default is 100\n"
"-d <device>\n"