Skip to content

Commit

Permalink
Merge pull request #25 from darbyjohnston/refactor4
Browse files Browse the repository at this point in the history
Refactoring
  • Loading branch information
darbyjohnston authored Nov 25, 2024
2 parents 9052577 + 647a0bf commit 408978a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions bin/toucan-render/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,18 +581,21 @@ namespace toucan
void App::_printHelp()
{
std::cout << "Usage:" << std::endl;
std::cout << std::endl;
std::cout << " toucan-render (input) (output) [options...]" << std::endl;
std::cout << std::endl;
std::cout << " toucan-render (input) (-print_start|-print_duration|-print_rate|-print_size)" << std::endl;
std::cout << std::endl;
std::cout << "Arguments:" << std::endl;
std::cout << std::endl;
for (const auto& arg : _args.list)
{
std::cout << " " << arg->getName() << std::endl;
std::cout << " " << arg->getHelp() << std::endl;
std::cout << " " << arg->getName() << " - " << arg->getHelp() << std::endl;
std::cout << std::endl;
}
std::cout << std::endl;
std::cout << "Options:" << std::endl;
std::cout << std::endl;
for (const auto& option : _options.list)
{
for (const auto& line : option->getHelp())
Expand Down
2 changes: 1 addition & 1 deletion cmake/SuperBuild/Builddtk-deps.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(ExternalProject)

set(dtk_GIT_REPOSITORY "https://github.com/darbyjohnston/dtk.git")
set(dtk_GIT_TAG "0dd29ed19c12702d9304c6273576117fa8648a23")
set(dtk_GIT_TAG "11e0c38016c8c7b860a7bc03dbc0adec7a1f0d91")

set(dtk-deps_ARGS
${toucan_EXTERNAL_PROJECT_ARGS}
Expand Down
2 changes: 1 addition & 1 deletion cmake/SuperBuild/Builddtk.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(ExternalProject)

set(dtk_GIT_REPOSITORY "https://github.com/darbyjohnston/dtk.git")
set(dtk_GIT_TAG "0dd29ed19c12702d9304c6273576117fa8648a23")
set(dtk_GIT_TAG "11e0c38016c8c7b860a7bc03dbc0adec7a1f0d91")

set(dtk_DEPS dtk-deps)
set(dtk_ARGS
Expand Down

0 comments on commit 408978a

Please sign in to comment.