Skip to content

Commit

Permalink
Add longoptions support for trend2d. (GenericMappingTools#8371)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis authored Feb 25, 2024
1 parent 356234b commit 3f93f48
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions src/longopt/trend2d_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,19 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'C', "",
{ 0, 'C', "condition|condition_number", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "output",
"x,y,m,r,w,p", "x,y,model,residual,weight,params|parameters",
"", "",
GMT_TP_MULTIDIR },
{ 0, 'I', "confidence|conf_level", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'N', "nterms|model",
"", "",
"r", "robust",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'W', "",
"", "",
{ 0, 'W', "weights",
"", "",
"s,w", "uncertainties,weights",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
Expand Down

0 comments on commit 3f93f48

Please sign in to comment.