Added a TODO
This commit is contained in:
parent
72b52a3759
commit
d3740b0b10
11
src/main.cpp
11
src/main.cpp
|
|
@ -22,15 +22,16 @@ int main(int argc, char **argv) {
|
||||||
->multi_option_policy (CLI::MultiOptionPolicy::Throw)
|
->multi_option_policy (CLI::MultiOptionPolicy::Throw)
|
||||||
->default_val('f');
|
->default_val('f');
|
||||||
|
|
||||||
auto formatHelp { [] () {
|
// auto formatHelp { [] () {
|
||||||
std::cout
|
// std::cout
|
||||||
<< ""
|
// << ""
|
||||||
} };
|
// } };
|
||||||
|
|
||||||
app.add_flag_callback("-fh, --format-help", , "Help with formats");
|
// app.add_flag_callback("-fh, --format-help", , "Help with formats");
|
||||||
|
|
||||||
CLI11_PARSE(app, argc, argv);
|
CLI11_PARSE(app, argc, argv);
|
||||||
|
|
||||||
|
// TODO: Catch the exception it can throw.
|
||||||
validateTimeFormatSelection(timeFormat);
|
validateTimeFormatSelection(timeFormat);
|
||||||
|
|
||||||
std::time_t result = std::time(nullptr);
|
std::time_t result = std::time(nullptr);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user