Skip to content

Commit

Permalink
Add longoptions support for sph2grd. (#8359)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis committed Feb 15, 2024
1 parent 7fbdb44 commit ee19bbb
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions src/longopt/sph2grd_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,22 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'D', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
{ 0, 'D', "derive",
"g,n", "gravity,geoid",
"", "",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
{ 0, 'E', "ellipsoid", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "filter",
"k", "km|kilometers",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
GMT_G_OUTGRID_KW,
GMT_I_INCREMENT_KW,
{ 0, 'N', "normalize",
"g,m,s", "geodesy,math,schmidt",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "phaseconv", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !SPH2GRD_INC_H */

0 comments on commit ee19bbb

Please sign in to comment.