+static int help_cmds(struct declaracao *dec)
+{
+ void *iter = NULL;
+ struct cmd *cmd;
+ printf("\n");
+ while ((cmd = cmd_next(&iter)) != NULL) {
+ printf("%s - ", cmd->name);
+ if (cmd->help)
+ printf("%s", cmd->help);
+ printf("\n");
+ }
+ printf("\n");
+}
+