Browse Source

Document undocumented cli function

master
C. J. Howard 3 years ago
parent
commit
b442b10ba3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/debug/cli.hpp

+ 2
- 2
src/debug/cli.hpp View File

@ -50,12 +50,12 @@ public:
* @param name Command name.
* @param function Command function.
*/
/// @{
template <class T, class... Args>
void register_command(const std::string& name, const std::function<T(Args...)>& function);
/// @copydoc register_command(const std::string, const std::function<T(Args...)>&)
template <class T, class... Args>
void register_command(const std::string& name, T (*function)(Args...));
/// @}
/**
* Unregisters a command from the CLI.

Loading…
Cancel
Save