Commit 76478940 authored by jan.koester's avatar jan.koester
Browse files

importend fix

parent 474516cb
Loading
Loading
Loading
Loading
+3 −1
Changes for src/blogi.cpp: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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);

@@ -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;
    }