Browse Source

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

master
Valdis Vitolins 5 years ago
parent
commit
541cd906f7
2 changed files with 6 additions and 6 deletions
  1. 3
    3
      src/espeak-ng.1.ronn
  2. 3
    3
      src/espeak-ng.c

+ 3
- 3
src/espeak-ng.1.ronn 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
src/espeak-ng.c 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"

Loading…
Cancel
Save