CLI11 icon indicating copy to clipboard operation
CLI11 copied to clipboard

Full help/usage display and modification example

Open tansy opened this issue 1 year ago • 3 comments

Example of help modification as documentation supplement.

tansy avatar Jan 08 '24 17:01 tansy

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ef327b7) 100.00% compared to head (da0cab3) 100.00%.

:exclamation: Current head da0cab3 differs from pull request most recent head 52a2c5b. Consider uploading reports for the commit 52a2c5b to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #975   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         4573      4573           
=========================================
  Hits          4573      4573           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Jan 08 '24 17:01 codecov[bot]

Thanks this looks good, I will integrate after we get the release out so it gets tested and built with all the other examples, but I think this will be helpful.

phlptp avatar Jan 10 '24 01:01 phlptp

That 'no parameter option' was my guess, and I just noticed, that it has `level' parameter. I think that needs correction.

Shall it be encode->add_option("-R, --remove", nullptr, "remove input file"); or encode->add_flag("-R, --remove", "remove input file");?

Also I world add an option to make space between shirt and long option description (-h,--help -> -h, --help), but don't know how.

tansy avatar Jan 10 '24 13:01 tansy