Add help for commands regardless of whether a handler is involved.
With this, all sorts of new commands can be found in 'help' text.
Hopefully, all of them have been documented....
Sadly, the lsort function appears to handle nested lists poorly, such
that sub-commands do not group with their parents.
}
}
+ command_helptext_add(command_name_list(c), help);
+
/* just a placeholder, no handler */
if (c->handler == NULL)
return c;
free((void *)full_name);
- command_helptext_add(command_name_list(c), help);
-
return c;
}