mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
use correct case for --pid-file option
This permits --pid-file to be specified. The getopt_long option was looking for a lowercase p, and the pid-file option used an uppercase P. This meant that pid-file was never settable.
This commit is contained in:
parent
c99bfb8e45
commit
f41b94022e
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ void process_cli(int argc, char **argv)
|
|||
do {
|
||||
opt = getopt_long(argc, argv, shortOptions, longOptions, NULL);
|
||||
switch (opt) {
|
||||
case 'p':
|
||||
case 'P':
|
||||
pidPath = dupeString(optarg);
|
||||
break;
|
||||
case 'V':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue