root.add("fun2", senf::console::factory::Command(&fun2));
senf::console::ConfigBundle bundle(root);
- bundle.add( senf::console::FileConfig("/tmp/test.cfg"));
+ bundle.add( senf::console::FileConfig(cfg.name()));
SENF_CHECK_NO_THROW( bundle.parse() );
}