gpsd_init() accepts -u/--unix-path to select the unix socket of the alfred
daemon. It should be documented for gpsd as it is for all other clients.

Fixes: 6c6a6f735054 ("alfred: Make unix socket path configurable")
Signed-off-by: Sven Eckelmann <[email protected]>
---
 gpsd/alfred-gpsd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gpsd/alfred-gpsd.c b/gpsd/alfred-gpsd.c
index 04f7a46..4a00526 100644
--- a/gpsd/alfred-gpsd.c
+++ b/gpsd/alfred-gpsd.c
@@ -354,6 +354,7 @@ static void gpsd_usage(void)
        printf("  -s, --server                start up in server mode, which 
regularly updates gpsd data from batman-adv\n");
        printf("  -l <lat>,<lon>,<alt>        Static location\n");
        printf("  -g server[:port[:device]]   GPSD source\n");
+       printf("  -u, --unix-path <path>      path to unix socket used for 
alfred server communication (default: \""ALFRED_SOCK_PATH_DEFAULT"\")\n");
        printf("  -v, --version               print the version\n");
        printf("  -h, --help                  this help\n");
        printf("\n");

-- 
2.47.3

Reply via email to