Loading src/blogi.cpp +3 −1 Changes for src/blogi.cpp: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -729,7 +729,7 @@ int main(int argc, char* argv[]) { BlogiCmdCtl.registerCmd("config",'c', true,"","Blogi Config File"); BlogiCmdCtl.registerCmd("debug",'d', false,(int)0,"Blogi runs Debugmod"); BlogiCmdCtl.registerCmd("foreground",'F', false,(int)0,"Blogi runs Foreground"); BlogiCmdCtl.registerCmd("foreground",'F', false,"","Blogi runs Foreground"); BlogiCmdCtl.parseCmd(argc,argv); Loading @@ -738,6 +738,8 @@ int main(int argc, char* argv[]) { bool fground = false; std::cerr << BlogiCmdCtl.getCmdbyKey("foreground")->getValue() << std::endl; if(BlogiCmdCtl.getCmdbyKey("foreground")->getValue()=="true"){ fground=true; } Loading Loading
src/blogi.cpp +3 −1 Changes for src/blogi.cpp: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -729,7 +729,7 @@ int main(int argc, char* argv[]) { BlogiCmdCtl.registerCmd("config",'c', true,"","Blogi Config File"); BlogiCmdCtl.registerCmd("debug",'d', false,(int)0,"Blogi runs Debugmod"); BlogiCmdCtl.registerCmd("foreground",'F', false,(int)0,"Blogi runs Foreground"); BlogiCmdCtl.registerCmd("foreground",'F', false,"","Blogi runs Foreground"); BlogiCmdCtl.parseCmd(argc,argv); Loading @@ -738,6 +738,8 @@ int main(int argc, char* argv[]) { bool fground = false; std::cerr << BlogiCmdCtl.getCmdbyKey("foreground")->getValue() << std::endl; if(BlogiCmdCtl.getCmdbyKey("foreground")->getValue()=="true"){ fground=true; } Loading