Skip to content

Commit

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

* Update sphdistance_inc.h

---------

Co-authored-by: Joaquim <jmfluis@gmail.com>
  • Loading branch information
rbdavis and joa-quim authored Mar 2, 2024
1 parent 3047036 commit d0e1e7c
Showing 1 changed file with 9 additions and 34 deletions.
43 changes: 9 additions & 34 deletions src/longopt/sphdistance_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,42 +25,17 @@ 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, 'D', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
{ 0, 'C', "save_mem|single_form", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'D', "duplicates|skipdup", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'E', "quantity",
"d,n,z", "distance,polygon,zvalue",
"", "",
GMT_TP_STANDARD },
GMT_G_OUTGRID_KW,
GMT_I_INCREMENT_KW,
{ 0, 'L', "unit|dist_unit", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'N', "nodes|node_table", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Q', "voronoi", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !SPHDISTANCE_INC_H */

0 comments on commit d0e1e7c

Please sign in to comment.