Skip to content

Commit

Permalink
Enable longoptions support for grdselect. (#8228)
Browse files Browse the repository at this point in the history
* Enable longoptions support for grdselect.

* Update grdselect_inc.h
  • Loading branch information
rbdavis authored Jan 8, 2024
1 parent b458c52 commit 35edfd0
Showing 1 changed file with 19 additions and 40 deletions.
59 changes: 19 additions & 40 deletions src/longopt/grdselect_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,54 +25,33 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'C', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
{ 0, 'A', "area",
"i,u", "intersection,union",
"i", "increment|inc",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
{ 0, 'C', "pointfile", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'D', "increment|inc", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'E', "tabs",
"b", "polygon",
"", "",
GMT_TP_STANDARD },
{ 0, 'M', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'W', "",
"", "",
{ 0, 'F', "polygonfile",
"", "",
"i,o", "in,out",
GMT_TP_STANDARD },
{ 0, 'Z', "",
{ 0, 'G', "force_remote", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'I', "invert|reverse",
"C,D,F,L,N,R,W,Z,r", "points,increment,polygons,lines,nans,region,range,zrange,registration",
"", "",
GMT_TP_MULTIDIR },
{ 0, 'L', "linefile", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'M', "margins", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'N', "nans",
"l,h", "lower|lower_than,higher|higher_than",
"", "",
GMT_TP_STANDARD },
{ 0, 'W', "range", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Z', "zrange", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !GRDSELECT_INC_H */

0 comments on commit 35edfd0

Please sign in to comment.