Skip to content

Commit

Permalink
Add longoptions support for triangulate. (#8372)
Browse files Browse the repository at this point in the history
* Add longoptions support for triangulate.

* Update triangulate_inc.h

---------

Co-authored-by: Joaquim <[email protected]>
  • Loading branch information
rbdavis and joa-quim committed Mar 2, 2024
1 parent 22dd3cb commit 3295c65
Showing 1 changed file with 17 additions and 48 deletions.
65 changes: 17 additions & 48 deletions src/longopt/triangulate_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,62 +25,31 @@ 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', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
{ 0, 'A', "area", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'C', "slope_grid", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'D', "derivatives",
"x,y", "x,y",
"", "",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
{ 0, 'E', "empty", "", "", "", "", GMT_TP_STANDARD },
GMT_G_OUTGRID_KW,
GMT_I_INCREMENT_KW,
{ 0, 'L', "index",
"", "",
"b", "binary",
GMT_TP_STANDARD },
{ 0, 'M', "",
"", "",
{ 0, 'M', network", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'N', "ids", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Q', "voronoi",
"n", "polygon",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Z', "",
"", "",
{ 0, 'S', "triangles",
"", "",
"z", "zvalues",
GMT_TP_STANDARD },
{ 0, 'T', "edges", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Z', "xyz", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !TRIANGULATE_INC_H */

0 comments on commit 3295c65

Please sign in to comment.