Skip to content

Commit

Permalink
Add longoptions support for psxyz. (#8356)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis committed Feb 15, 2024
1 parent 12fdcf2 commit 9c01d96
Showing 1 changed file with 17 additions and 40 deletions.
57 changes: 17 additions & 40 deletions src/longopt/psxyz_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,57 +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', "straightlines|straight_lines|straight_line",
"m,p,x,y,r,t", "mpfollow,pmfollow,xyalong,yxalong,rtalong,tralong",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
GMT_C_CPT_KW,
{ 0, 'D', "offset", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'G', "fill",
"", "",
"z", "zvalue",
GMT_TP_STANDARD },
{ 0, 'H', "",
"", "",
{ 0, 'H', "scale", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'I', "intensity|intens", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'L', "polygon|close|closed_polygon",
"", "",
"b,d,D,x,y,p", "bounds,symdev,asymdev,xanchor,yanchor,pen",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
{ 0, 'N', "noclip|no_clip",
"c,r", "clipnorepeat,repeatnoclip",
"", "",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
{ 0, 'Q', "nosort|no_sort", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'W', "pen",
"", "",
"c,o,s,v,z", "color,offset,spline,vector,zvalues",
GMT_TP_STANDARD },
{ 0, 'Q', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'W', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'Z', "",
"", "",
{ 0, 'Z', "zvalue|level",
"", "",
"t,T", "transparency,twocols",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
Expand Down

0 comments on commit 9c01d96

Please sign in to comment.