This PR implements the -d "<string>" switch for printtarg, allowing users to specify custom chart description/label text or suppress border labelling when passed an empty string (-d "").
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
This PR implements the
-d "<string>"switch forprinttarg, allowing users to specify custom chart description/label text or suppress border labelling when passed an empty string (-d "").Fixes #19
Changes
target/printtarg.c:-d labelCLI parsing inmain().labelbuffer to 1024 bytes and added safe boundedstrncpycopying.dopglabel = 0) when-d ""is supplied.CHART_LABELkeyword to output.ti2CGATS files for downstream traceability.ps_escape_str()in PostScript rendering (ps_string,ps_vstring) to escape(,),\and normalize newlines.usage()banner.doc/printtarg.html:-dswitch in command summary table and options detail section.doc/ChangesSummary.html: