diff options
author | Gary E. Miller <gem@rellim.com> | 2017-06-30 16:34:30 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2017-06-30 16:34:30 -0700 |
commit | b18a922a498419b8dbe29a0b4024ce630fdc30db (patch) | |
tree | 837dc91fd1db1e43d03a3cdaf475e4bb5cc35612 /gpsd.c | |
parent | 05d1410fcd7a86f588431d547f399c303b7dda3a (diff) | |
download | gpsd-b18a922a498419b8dbe29a0b4024ce630fdc30db.tar.gz |
Alphabetize gpsd usage message. Add -r option.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -232,21 +232,22 @@ static void typelist(void) static void usage(void) { - (void)printf("usage: gpsd [-b] [-n] [-N] [-D n] [-F sockfile] [-G] [-P pidfile] [-S port] [-h] device...\n\ + (void)printf("usage: gpsd [-b] [-D n] [-F sockfile] [-G] [-h] [-n] [-N] [-P pidfile] [-S port] device...\n\ Options include: \n\ - -b = bluetooth-safe: open data sources read-only\n" -#ifndef FORCE_NOWAIT -" -n = don't wait for client connects to poll GPS\n" -#endif /* FORCE_NOWAIT */ -" -N = don't go into background\n\ + -b = bluetooth-safe: open data sources read-only\n\ + -D integer (default 0) = set debug level \n\ -F sockfile = specify control socket location\n" #ifndef FORCE_GLOBAL_ENABLE " -G = make gpsd listen on INADDR_ANY\n" #endif /* FORCE_GLOBAL_ENABLE */ -" -P pidfile = set file to record process ID \n\ - -D integer (default 0) = set debug level \n\ +" -h = help message \n" +#ifndef FORCE_NOWAIT +" -n = don't wait for client connects to poll GPS\n" +#endif /* FORCE_NOWAIT */ +" -N = don't go into background\n\ + -P pidfile = set file to record process ID\n\ + -r = use GPS time even if no fix\n\ -S integer (default %s) = set port for daemon \n\ - -h = help message \n\ -V = emit version and exit.\n" #ifdef NETFEED_ENABLE "A device may be a local serial device for GPS input, or a URL in one \n\ |