Skip to content

Commit

Permalink
Add longoptions support for gmtvector. (#8069)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Wessel <[email protected]>
  • Loading branch information
rbdavis and PaulWessel authored Nov 30, 2023
1 parent 42086f8 commit 2f3d192
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions src/longopt/gmtvector_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,19 @@ 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, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
{ 0, 'A', "primary_vector|primary_vec",
"m", "mean",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
{ 0, 'C', "cartesian",
"i,o", "in,out",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
{ 0, 'E', "geod2geoc", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'N', "normalize", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'S', "secondary_vector|secondary_vec", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'T', "transform",
"a,b,d,D,p,s,r,R,t,x", "average,bisector,dotproduct,angle,gcircle,sum,rotate,rotate2,translate,crossproduct",
"", "",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
Expand Down

0 comments on commit 2f3d192

Please sign in to comment.