Codechange: use fmt::format_to to format the help message

This commit is contained in:
Rubidium
2023-05-19 23:22:30 +02:00
committed by rubidium42
parent 8d2a0a7da4
commit 07860e67e2
15 changed files with 81 additions and 100 deletions

View File

@@ -55,8 +55,10 @@ public:
/**
* Get the list of registered scripts to print on the console.
* @param output_iterator The iterator to write the output to.
* @param newest_only Whether to only show the newest scripts.
*/
std::string GetConsoleList(bool newest_only) const;
void GetConsoleList(std::back_insert_iterator<std::string> &output_iterator, bool newest_only) const;
/**
* Check whether we have a script with the exact characteristics as ci.