Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable longoptions support for grdproject. #8226

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 10 additions & 22 deletions src/longopt/grdproject_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,32 +25,20 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'C', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
{ 0, 'C', "center", "", "", "", "", GMT_TP_STANDARD },
{ '/', 'D', "increment|inc|spacing",
"", "",
"e,n", "exact,number",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
{ 0, 'E', "dpi", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "one2one|one2one_scale",
"c,i,p,e,f,k,M,n,u", "c,i,p,e,f,k,M,n,u",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'M', "",
"", "",
GMT_G_OUTGRID_KW,
{ 0, 'I', "inverse", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'M', "unit|projected_unit",
"c,i,p", "c,i,p",
"", "",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
Expand Down