chore: add missing definitions to the files. remove static qualifier from the headers. add help text to the actions.

This commit is contained in:
2026-03-15 23:55:06 +04:00
parent 9e646622db
commit 3552d34dac
5 changed files with 33 additions and 13 deletions

View File

@@ -2,12 +2,12 @@
#include <algorithm>
namespace argument_parser::conventions::helpers {
static std::string to_lower(std::string s) {
std::string to_lower(std::string s) {
std::transform(s.begin(), s.end(), s.begin(), [](unsigned char c) { return std::tolower(c); });
return s;
}
static std::string to_upper(std::string s) {
std::string to_upper(std::string s) {
std::transform(s.begin(), s.end(), s.begin(), [](unsigned char c) { return std::toupper(c); });
return s;
}