Skip to content

Commit

Permalink
Enable longoptions support for grdlandmask. (#8205)
Browse files Browse the repository at this point in the history
* Enable longoptions support for grdedit.

* Enable longoptions support for grdlandmask.
  • Loading branch information
rbdavis authored Jan 23, 2024
1 parent b8acdff commit 2d48c6f
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions src/longopt/grdlandmask_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,18 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
{ 0, 'A', "min_area|area|area_thresh",
"", "",
"a,l,p,r", "antarctica,regular_lakes,min_polygon,river_lakes",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
{ 0, 'D', "resolution",
"f,h,i,l,c,a", "full,high,intermediate,low,crude,auto",
"f", "lower",
GMT_TP_STANDARD },
{ 0, 'E', "bordervalues|border", "", "", "", "", GMT_TP_STANDARD },
GMT_G_OUTGRID_KW,
GMT_I_INCREMENT_KW,
{ 0, 'N', "maskvalues", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !GRDLANDMASK_INC_H */

0 comments on commit 2d48c6f

Please sign in to comment.