Skip to content

Commit 18d358c

Browse files
authored
Update grdimage required arguments (#8694)
* Update grdimage * Restore J in THIS_MODULE_NEEDS * Relocate command
1 parent 2ba06ed commit 18d358c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grdimage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ static int usage (struct GMTAPI_CTRL *API, int level) {
193193
"If the image is plain (e.g., JPG, PNG, GIF) you must also give a corresponding -R.");
194194
if (API->external) /* External interface */
195195
GMT_Usage (API, -2, "If -D is used then <grid> is instead expected to be an image.");
196-
GMT_Option (API, "J-");
197196
GMT_Message (API, GMT_TIME_NONE, "\n OPTIONAL ARGUMENTS:\n");
198197
if (API->external) /* External interface */
199198
GMT_Usage (API, 1, "\n-A Return a GMT raster image instead of a PostScript plot.");
@@ -229,6 +228,7 @@ static int usage (struct GMTAPI_CTRL *API, int level) {
229228
GMT_Usage (API, 3, "+m Set <ambient> light to add [0].");
230229
GMT_Usage (API, -2, "Alternatively, use -I+d to accept the default values (see grdgradient for more details). "
231230
"To derive intensities from another grid than <grid>, give the alternative data grid with suitable modifiers.");
231+
GMT_Option (API, "J-");
232232
GMT_Option (API, "K");
233233
GMT_Usage (API, 1, "\n-M Force a monochrome (gray-scale) image.");
234234
GMT_Usage (API, 1, "\n-N Do Not clip image at the map boundary.");

0 commit comments

Comments
 (0)