summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpsd.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/gpsd.c b/gpsd.c
index b8a0ac3e..7a693ef0 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -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\