From a21b534e1bf365fc69483f7fc96b2aa7fc5787d4 Mon Sep 17 00:00:00 2001 From: Paul Wessel Date: Sun, 17 Mar 2019 22:18:00 -1000 Subject: [PATCH] Two usage messages had unit before increment Both filter1d.c and sample1d.c said +|-[unit]inc instead of +|-inc[unit]. --- src/filter1d.c | 2 +- src/sample1d.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filter1d.c b/src/filter1d.c index 391b7ef122e..d7648c0a36b 100644 --- a/src/filter1d.c +++ b/src/filter1d.c @@ -231,7 +231,7 @@ GMT_LOCAL int usage (struct GMTAPI_CTRL *API, int level) { GMT_Message (API, GMT_TIME_NONE, "\t If only ], with - for fast (Flat Earth) or + for slow (ellipsoidal) calculations [great circle].\n"); + GMT_Message (API, GMT_TIME_NONE, "\t [-|+][], with - for fast (Flat Earth) or + for slow (ellipsoidal) calculations [great circle].\n"); GMT_Message (API, GMT_TIME_NONE, "\t Append a geospatial distance unit (%s) or c (for Cartesian distances).\n", GMT_LEN_UNITS_DISPLAY); GMT_Message (API, GMT_TIME_NONE, "\t Optionally, append +a to add such internal distances as a final output column [no distances added].\n"); GMT_Message (API, GMT_TIME_NONE, "\t Alternatively, give a file with output times in the first column or a comma-separated list.\n"); diff --git a/src/sample1d.c b/src/sample1d.c index 6b9d6d5dbe9..37ca5958e36 100644 --- a/src/sample1d.c +++ b/src/sample1d.c @@ -120,7 +120,7 @@ GMT_LOCAL int usage (struct GMTAPI_CTRL *API, int level) { GMT_Message (API, GMT_TIME_NONE, "\t Append +n to indicate is the number of t-values to produce over the range instead.\n"); GMT_Message (API, GMT_TIME_NONE, "\t For absolute time resampling, append a valid time unit (%s) to the increment and add +t.\n", GMT_TIME_UNITS_DISPLAY); GMT_Message (API, GMT_TIME_NONE, "\t For spatial resampling with distance computed from the first two columns, specify increment as\n"); - GMT_Message (API, GMT_TIME_NONE, "\t [-|+][], with - for fast (Flat Earth) or + for slow (ellipsoidal) calculations [great circle].\n"); + GMT_Message (API, GMT_TIME_NONE, "\t [-|+][], with - for fast (Flat Earth) or + for slow (ellipsoidal) calculations [great circle].\n"); GMT_Message (API, GMT_TIME_NONE, "\t Append a geospatial distance unit (%s) or c (for Cartesian distances).\n", GMT_LEN_UNITS_DISPLAY); GMT_Message (API, GMT_TIME_NONE, "\t See -A to control how the spatial resampling is done.\n"); GMT_Message (API, GMT_TIME_NONE, "\t Optionally, append +a to add such internal distances as a final output column [no distances added].\n");