Skip to content

Failure message - #52

Merged
henryiii merged 3 commits into
masterfrom
failure
Nov 22, 2017
Merged

henryiii merged 3 commits into
masterfrom
failure

Conversation

@henryiii

Copy link
Copy Markdown
Collaborator

This adds tests for the failure message, and makes it customizable. Two options are provided. The default has changed to the more concise version of the message.

To set the old default, the "help print" message:

app.set_failure_message(CLI::FailureMessage::help);

@henryiii henryiii added this to the v1.3 milestone Nov 22, 2017
@henryiii
henryiii merged commit e2deeca into master Nov 22, 2017
@henryiii
henryiii deleted the failure branch November 22, 2017 18:45
@codecov

codecov Bot commented Nov 22, 2017 •

Copy link
Copy Markdown

Codecov Report

Merging #52 into master will decrease coverage by 0.07%.
The diff coverage is 88.63%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #52      +/-   ##
=========================================
- Coverage   99.67%   99.6%   -0.08%     
=========================================
  Files           9       9              
  Lines        1241    1256      +15     
  Branches      251     252       +1     
=========================================
+ Hits         1237    1251      +14     
- Misses          4       5       +1
Impacted Files Coverage Δ
include/CLI/Error.hpp 100% <100%> (ø) ⬆️
include/CLI/Option.hpp 98.63% <62.5%> (-1.37%) ⬇️
include/CLI/App.hpp 99.71% <91.66%> (+0.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1624b1f...c78a9e3. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant