Skip to content

Commit

Permalink
Add longoptions support for psmask. (#8332)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis authored Feb 7, 2024
1 parent 52bb92c commit 36d8dac
Showing 1 changed file with 12 additions and 36 deletions.
48 changes: 12 additions & 36 deletions src/longopt/psmask_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,46 +25,22 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'C', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
{ 0, 'C', "endclip", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'D', "dump", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "forceclip|oriented",
"l,r", "left|right",
"", "",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
{ 0, 'G', "fill", "", "", "", "", GMT_TP_STANDARD },
GMT_I_INCREMENT_KW,
{ 0, 'L', "nodegrid",
"", "",
"i,o", "inside,outside",
GMT_TP_STANDARD },
{ 0, 'N', "invert|inverse", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Q', "cut", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'S', "search_radius", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'T', "tiles", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !PSMASK_INC_H */

0 comments on commit 36d8dac

Please sign in to comment.