Skip to content

Commit

Permalink
Add longoptions support for sample1d. (#8357)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis committed Feb 15, 2024
1 parent cb11ad0 commit 12fdcf2
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions src/longopt/sample1d_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,22 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
"", "",
{ 0, 'A', "resample",
"f,p,m,r,R", "keeporig,pmfollow,mpfollow,equidistant,exactfit",
"d,l", "delete,rhumb",
GMT_TP_STANDARD },
GMT_C_CPT_KW,
{ 0, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
{ 0, 'E', "keeptext", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "interptype|interp",
"a,c,e,l,n,s", "akima,cubic,step,linear,none,smooth",
"d", "derivative",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'W', "",
"", "",
{ 0, 'N', "time_column|time_col|timecol", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'T', "inc|range",
"", "",
"a,i,n,u", "paste,inverse,numcoords,unique",
GMT_TP_STANDARD },
{ 0, 'W', "weights", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !SAMPLE1D_INC_H */

0 comments on commit 12fdcf2

Please sign in to comment.