summaryrefslogtreecommitdiff
path: root/gpsrinex.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-05-01 17:23:00 -0700
committerGary E. Miller <gem@rellim.com>2019-05-01 17:23:00 -0700
commit508c66d1ae5499c8c58dfef87a8e6d3888037ef5 (patch)
tree2bf1d09f72e0b787cd5afcd59e289e3f000df267 /gpsrinex.c
parent87e597535532f8832c1a30c0067fffb27850cda3 (diff)
downloadgpsd-508c66d1ae5499c8c58dfef87a8e6d3888037ef5.tar.gz
gpsrinex: Improve usage(), show sample interval default.
Diffstat (limited to 'gpsrinex.c')
-rw-r--r--gpsrinex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpsrinex.c b/gpsrinex.c
index 97807d64..da646f4c 100644
--- a/gpsrinex.c
+++ b/gpsrinex.c
@@ -798,11 +798,13 @@ static void usage(void)
" [-f filename] out to filename\n"
" gpsrinexYYYYDDDDHHMM.obs\n"
" [-h] print this usage and exit\n"
- " [-i interval] time between samples\n"
+ " [-i interval] time between samples, default: %d\n"
" [-n count] number samples to collect, default: %d\n"
" [-V] print version and exit\n"
+ "\n"
"defaults to '%s -n %d -i %d localhost:2947'\n",
- progname, sample_count, progname, sample_count, sample_interval);
+ progname, sample_interval, sample_count, progname, sample_count,
+ sample_interval);
exit(EXIT_FAILURE);
}