Skip to content

Commit

Permalink
Add longoptions support for pslegend. (#8331)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis authored Feb 15, 2024
1 parent 93b9338 commit 3d70ad9
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions src/longopt/pslegend_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,21 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'C', "",
"", "",
"", "",
{ 0, 'C', "clearance", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'D', "position",
"g,j,J,n,x", "mapcoords,inside,outside,boxcoords,plotcoords",
"w,j,l,o", "width,janchor,spacing,anchoroffset",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
{ 0, 'F', "box",
"", "",
"c,g,i,p,r,s", "clearance,fill,inner,pen,radius,shade",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'M', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
{ 0, 'M', "source",
"h,e", "hidden,explicit",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "scale", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'T', "hidden_file|leg_file", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !PSLEGEND_INC_H */

0 comments on commit 3d70ad9

Please sign in to comment.