summaryrefslogtreecommitdiff
path: root/kel_cmds
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-05-19 10:32:57 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-05-19 10:32:57 +0200
commit35929bcbc578c970654a740253ee72ed9d830bbc (patch)
treee478686b86654131aa11dbc195a276d2624921cf /kel_cmds
parent00737925dc1adc26faa7bcde8f15ce97c45cadb3 (diff)
downloadapps-dev_tools-35929bcbc578c970654a740253ee72ed9d830bbc.tar.gz
Rename main entry
Diffstat (limited to 'kel_cmds')
-rw-r--r--kel_cmds/c++/kel_cmds.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/kel_cmds/c++/kel_cmds.cpp b/kel_cmds/c++/kel_cmds.cpp
index 0d0bc11..75ebef6 100644
--- a/kel_cmds/c++/kel_cmds.cpp
+++ b/kel_cmds/c++/kel_cmds.cpp
@@ -18,7 +18,7 @@ using CmdArgs = Args<
}
-saw::error_or<void> kel_main(int argc, char** argv){
+saw::error_or<void> kmain(int argc, char** argv){
saw::data<sch::CmdArgs> args_d;
{
saw::data<sch::CmdArgs, saw::encode::Args> args_data{argc, argv};
@@ -35,6 +35,9 @@ saw::error_or<void> kel_main(int argc, char** argv){
}
bool running = true;
+
+
+
while(running){
std::array<char, 256ul> buffer;
std::cin.getline(&buffer[0],buffer.size());
@@ -79,7 +82,7 @@ saw::error_or<void> kel_main(int argc, char** argv){
}
int main(int argc, char** argv){
- auto eov = kel::kel_main(argc, argv);
+ auto eov = kel::kmain(argc, argv);
if(eov.is_error()){
auto& err = eov.get_error();
auto err_msg = err.get_message();