diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-02 09:04:57 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-02 09:06:02 -0500 |
commit | 46278e05fb0394e57019240f75c18ed71b1bb375 (patch) | |
tree | 07f94320bca506111d609091c4e3f4aab384a561 /gpxlogger.c | |
parent | 8868f9806fecf0be39b299e62534f685855c2653 (diff) | |
download | gpsd-46278e05fb0394e57019240f75c18ed71b1bb375.tar.gz |
Generqte -V messages in a uniform way.
All regression tests pass.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index 9f100746..b149729d 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -276,7 +276,8 @@ int main(int argc, char **argv) minmove = (double )atoi(optarg); break; case 'V': - (void)fprintf(stderr, "%s revision " REVISION "\n", progname); + (void)fprintf(stderr, "%s: version %s (revision %s)\n", + progname, VERSION, REVISION); exit(EXIT_SUCCESS); default: usage(); |