Skip to content

Commit

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

* Update gmtmath_inc.h

---------

Co-authored-by: Paul Wessel <pwessel@hawaii.edu>
  • Loading branch information
rbdavis and PaulWessel authored Nov 12, 2023
1 parent 0a3c28f commit 7fb52c4
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions src/longopt/gmtmath_inc.h
Original file line number Diff line number Diff line change
@@ -24,33 +24,22 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
/* separator, short_option, long_option,
short_directives, long_directives,
short_modifiers, long_modifiers */
{ 0, 'A', "",
{ 0, 'A', "init|matrix",
"", "",
"e,r,s,w", "evaluate,no_left,sigma,weights" },
{ 0, 'C', "columns", "", "", "", "" },
{ 0, 'E', "eigen", "", "", "", "" },
{ 0, 'I', "invert|reverse", "", "", "", "" },
{ 0, 'N', "ncolumns", "", "", "", "" },
{ 0, 'Q', "quick",
"c,i,p,n", "cm|centimeter,inch,point,none",
"", "" },
{ 0, 'C', "",
"", "",
"", "" },
{ 0, 'E', "",
"", "",
"", "" },
{ 0, 'I', "",
"", "",
"", "" },
{ 0, 'L', "",
"", "",
{ 0, 'S', "output",
"f,l", "first,last",
"", "" },
{ 0, 'N', "",
{ 0, 'T', "range|series",
"", "",
"", "" },
{ 0, 'Q', "",
"", "",
"", "" },
{ 0, 'S', "",
"", "",
"", "" },
{ 0, 'T', "",
"", "",
"", "" },
"b,l,i,n", "log2,log10,inverse,number" },
{ 0, '\0', "", "", "", "", ""} /* End of list marked with empty option and strings */
};
#endif /* !GMTMATH_INC_H */

0 comments on commit 7fb52c4

Please sign in to comment.