}
+void
+help_debug()
+{
+}
+
+
void
command_debug(DBus::Connection* conn, Snapper* snapper)
{
<< endl;
for (list<Cmd>::const_iterator cmd = cmds.begin(); cmd != cmds.end(); ++cmd)
- {
- if (cmd->help_func)
- (*cmd->help_func)();
- }
+ (*cmd->help_func)();
exit (EXIT_SUCCESS);
}
#endif
cmds.push_back(Cmd("undochange", command_undo, help_undo, false, true));
cmds.push_back(Cmd("cleanup", command_cleanup, help_cleanup, false, true));
- cmds.push_back(Cmd("debug", command_debug, NULL, false, false));
+ cmds.push_back(Cmd("debug", command_debug, help_debug, false, false));
const struct option options[] = {
{ "quiet", no_argument, 0, 'q' },