Skip to content

Commit

Permalink
Multi-directive support for gmtselect. (#8118)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis authored Dec 19, 2023
1 parent 44f39eb commit c04ee01
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/longopt/gmtselect_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,39 @@

static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
/* separator, short_option, long_option,
short_directives, long_directives,
short_modifiers, long_modifiers,
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "min_area|area",
"", "",
"a,l,r,p", "antarctica,lakes,river_lakes,percent",
GMT_TP_STANDARD },
"a,l,r,p", "antarctica,lakes,river_lakes,percent",
GMT_TP_STANDARD },
{ 0, 'C', "distance|dist2pt",
"", "",
"d", "distance",
GMT_TP_STANDARD },
GMT_TP_STANDARD },
{ 0, 'D', "resolution",
"f,h,i,l,c", "full,high,intermediate,low,crude",
"f", "lower",
GMT_TP_STANDARD },
{ 0, 'E', "boundary", "", "", "", "",
GMT_TP_STANDARD },
{ 0, 'F', "polygon", "", "", "", "",
GMT_TP_STANDARD },
{ 0, 'G', "gridmask", "", "", "", "",
GMT_TP_STANDARD },
{ 0, 'I', "invert|reverse", "", "", "", "",
GMT_TP_STANDARD },
GMT_TP_STANDARD },
{ 0, 'E', "boundary", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "polygon", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'G', "gridmask", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'I', "invert|reverse",
"c,f,g,l,r,s,z", "circle,polygons,zero,line,rectangle,gridmask,zrange",
"", "",
GMT_TP_MULTIDIR },
{ 0, 'L', "dist2line",
"", "",
"d,p", "distance,project",
GMT_TP_STANDARD },
{ 0, 'N', "mask|maskvalues", "", "", "", "",
GMT_TP_STANDARD },
{ 0, 'Z', "limits|in_range",
GMT_TP_STANDARD },
{ 0, 'N', "mask|maskvalues", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Z', "in_range",
"", "",
"a,c,h,i", "any,column,header,invert",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0} /* End of list marked with empty option and strings */
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !GMTSELECT_INC_H */

0 comments on commit c04ee01

Please sign in to comment.