Skip to content

Update grdimage required arguments #8694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/grdimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ static int usage (struct GMTAPI_CTRL *API, int level) {
"If the image is plain (e.g., JPG, PNG, GIF) you must also give a corresponding -R.");
if (API->external) /* External interface */
GMT_Usage (API, -2, "If -D is used then <grid> is instead expected to be an image.");
GMT_Option (API, "J-");
GMT_Message (API, GMT_TIME_NONE, "\n OPTIONAL ARGUMENTS:\n");
if (API->external) /* External interface */
GMT_Usage (API, 1, "\n-A Return a GMT raster image instead of a PostScript plot.");
Expand Down Expand Up @@ -221,6 +220,7 @@ static int usage (struct GMTAPI_CTRL *API, int level) {
GMT_Usage (API, 3, "+b Set background color.");
GMT_Usage (API, 3, "+f Set foreground color [Default].");
GMT_Usage (API, 1, "\n-I[<intensgrid>|<value>|<modifiers>]");
GMT_Option (API, "J-");
GMT_Usage (API, -2, "Apply directional illumination. Append name of an intensity grid, or "
"for a constant intensity (i.e., change the ambient light), just give a scalar. "
"To derive intensities from <grid> instead, append desired modifiers:");
Expand Down
Loading