Skip to content

Commit

Permalink
Add longoptions support for pstext. (#8355)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis committed Feb 15, 2024
1 parent 9c01d96 commit 2ae6573
Showing 1 changed file with 19 additions and 39 deletions.
58 changes: 19 additions & 39 deletions src/longopt/pstext_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,54 +25,34 @@ 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', "",
"", "",
{ 0, 'A', "azimuth", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'C', "clearance",
"", "",
"t", "textbox",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
{ 0, 'D', "offset",
"j,J", "away,corners",
"v", "line",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
{ 0, 'F', "attributes|attrib",
"", "",
"a,A,c,f,h,j,l,r,t,z",
"angle,zerocenter|Angle,rjustify|region_justify,font,header,justify,label,record|rec_number,text,zformat|zvalues",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'M', "",
"", "",
{ 0, 'G', "fill",
"", "",
"n", "no_text|C",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'W', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Z', "",
"", "",
{ 0, 'L', "listfonts|list", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'M', "paragraph", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'N', "noclip|no_clip", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'Q', "case|change_case",
"l,u", "lower,upper",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "shade", "", "", "", "", GMT_TP_STANDARD },
GMT_W_PEN_KW,
{ 0, 'Z', "zvalues|threeD", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !PSTEXT_INC_H */

0 comments on commit 2ae6573

Please sign in to comment.