Skip to content

Commit

Permalink
Add longoptions support for pshistogram. (#8329)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis committed Feb 7, 2024
1 parent 89609c8 commit 666c8d7
Showing 1 changed file with 27 additions and 39 deletions.
66 changes: 27 additions & 39 deletions src/longopt/pshistogram_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,61 +25,49 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
{ 0, 'A', "horizontal", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'C', "cpt|cmap",
"", "",
"b", "bin",
GMT_TP_STANDARD },
{ 0, 'C', "",
"", "",
{ 0, 'D', "annotate",
"", "",
"b,f,o,r", "beneath,font,offest,rotate",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
{ 0, 'E', "barwidth|width",
"", "",
"o", "offset",
GMT_TP_STANDARD },
{ 0, 'E', "",
"", "",
"", "",
{ 0, 'F', "center", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'G', "fill",
"p,P", "bit,bitreverse",
"b,f,r", "bg|background,fg|foreground,dpi",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
{ 0, 'I', "inquire",
"o,O", "nonzero|no_zero,all",
"", "",
GMT_TP_STANDARD },
{ 0, 'G', "",
"", "",
{ 0, 'L', "extreme|out_range",
"b,l,h", "both,low|first,high|last",
"", "",
GMT_TP_STANDARD },
{ 0, 'I', "",
"", "",
"", "",
{ 0, 'N', "distribution",
"0,1,2", "meanstddev,medianL1,LMSscale|lmsscale",
"p", "pen",
GMT_TP_STANDARD },
{ 0, 'L', "",
"", "",
{ 0, 'Q', "cumulative",
"r", "reverse",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
{ 0, 'S', "stairs", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'T', "range|bin|series",
"", "",
"i,n", "inverse,number",
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', "",
"", "",
"", "",
GMT_W_PEN_KW,
{ 0, 'Z', "histtype|kind",
"0,1,2,3,4,5", "counts,freq,logcount,logfreq,log10count,log10freq",
"w", "weights",
GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
Expand Down

0 comments on commit 666c8d7

Please sign in to comment.