diff options
author | Gary E. Miller <gem@rellim.com> | 2019-05-01 17:23:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-05-01 17:23:00 -0700 |
commit | 508c66d1ae5499c8c58dfef87a8e6d3888037ef5 (patch) | |
tree | 2bf1d09f72e0b787cd5afcd59e289e3f000df267 /gpsrinex.c | |
parent | 87e597535532f8832c1a30c0067fffb27850cda3 (diff) | |
download | gpsd-508c66d1ae5499c8c58dfef87a8e6d3888037ef5.tar.gz |
gpsrinex: Improve usage(), show sample interval default.
Diffstat (limited to 'gpsrinex.c')
-rw-r--r-- | gpsrinex.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); } |