From: Mathias Adam Date: Sun, 20 Jan 2019 20:04:11 +0000 (+0100) Subject: skytraq: rename option gps_utc_offset to gps-utc-offset, to be consistent with other... X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~115^2~1^2~35^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9efbc9cb26a4d31def8adf33c9d5a5da1f200d30;p=gpsbabel.git skytraq: rename option gps_utc_offset to gps-utc-offset, to be consistent with other options --- diff --git a/skytraq.cc b/skytraq.cc index d86fcb04c..20f07e01e 100644 --- a/skytraq.cc +++ b/skytraq.cc @@ -115,7 +115,7 @@ arglist_t skytraq_args[] = { "0", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr }, { - "gps_utc_offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", + "gps-utc-offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr }, { @@ -136,7 +136,7 @@ arglist_t skytraq_fargs[] = { "-1", ARGTYPE_INT, "-1", "65535", nullptr }, { - "gps_utc_offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", + "gps-utc-offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr }, { diff --git a/xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml b/xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml @@ -0,0 +1 @@ + diff --git a/xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml b/xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml deleted file mode 100644 index 8b1378917..000000000 --- a/xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml +++ /dev/null @@ -1 +0,0 @@ - diff --git a/xmldoc/formats/options/skytraq-gps-utc-offset.xml b/xmldoc/formats/options/skytraq-gps-utc-offset.xml new file mode 100644 index 000000000..d6656e847 --- /dev/null +++ b/xmldoc/formats/options/skytraq-gps-utc-offset.xml @@ -0,0 +1,18 @@ + +gps-utc-offset is used to override the built-in table of offsets of +the offset between GPS time and UTC time. This chipset reports only +GPS time to the host and relies on software to know every time an adjustment +is made. Since GPS time offsets can change without a new version of GPSBabel +is released, those that care about total accuracy can override it. + + +gpsbabel +-i skytraq.bin,gps-utc-offset=15 -f filename.bin + + +Indicates that GPS is ahead of UTC by fifteen seconds, as was the case in 2009. + + + +Consult formal explanation of GPS time vs. UTC time if you're into that. + diff --git a/xmldoc/formats/options/skytraq-gps_utc_offset.xml b/xmldoc/formats/options/skytraq-gps_utc_offset.xml deleted file mode 100644 index de502c68f..000000000 --- a/xmldoc/formats/options/skytraq-gps_utc_offset.xml +++ /dev/null @@ -1,18 +0,0 @@ - -gps_utc_offset is used to override the built-in table of offsets of -the offset between GPS time and UTC time. This chipset reports only -GPS time to the host and relies on software to know every time an adjustment -is made. Since GPS time offsets can change without a new version of GPSBabel -is released, those that care about total accuracy can override it. - - -gpsbabel --i skytraq.bin,gps_utc_offset=15 -f filename.bin - - -Indicates that GPS is ahead of UTC by fifteen seconds, as was the case in 2009. - - - -Consult formal explanation of GPS time vs. UTC time if you're into that. -