Package: gpsd
Version: 3.22-2
Severity: normal

I am trying to run gpsd with --pidfile option.
When I run command as shown below, the --pidfile's argument
is treated as inaccessible device name, but after changing it to -P
gpsd starts and creates the pid file.

 /usr/sbin/gpsd --sockfile /run/gpsd.sock --pidfile /run/gpsd.pid --nowait

I think the problem here is 'no_argument' value in the long_options[]
array (gpsd/gpsd.c:1951).
Also, the same problem may affect --port option (the next line of array).

Reply via email to