Skip to content

Commit

Permalink
Enable longoptions support for grdconvert. (#8197)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis authored Jan 23, 2024
1 parent 342385c commit 22e325a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/longopt/grdconvert_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,15 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'C', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
{ 0, 'C', "cmdhist|command_history",
"b,c,n,p", "both,current,none,previous",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Z', "",
"", "",
GMT_G_OUTGRID_KW,
{ 0, 'N', "no_header", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Z', "modify|scale",
"", "",
"o,s", "offset,scale",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
Expand Down

0 comments on commit 22e325a

Please sign in to comment.