Added a TODO

This commit is contained in:
theskywinds 2025-06-25 14:08:41 +02:00
parent 72b52a3759
commit d3740b0b10

View File

@ -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);