{
static struct ec_completed *c;
static struct ec_completed_iter *iter;
- static const struct ec_completed_match *item;
+ static const struct ec_completed_item *item;
char *out_string;
/* don't append a quote */
}
/* this function builds the help string */
-static char *get_node_help(const struct ec_completed_match *elt)
+static char *get_node_help(const struct ec_completed_item *item)
{
const struct ec_node *node;
char *help = NULL;
const char *node_desc = NULL;
size_t i;
- for (i = 0; i < elt->pathlen; i++) {
- node = elt->path[i];
+ for (i = 0; i < item->pathlen; i++) {
+ node = item->path[i];
if (node_help == NULL)
node_help = ec_keyval_get(ec_node_attrs(node), "help");
if (node_desc == NULL)
static int show_help(int ignore, int invoking_key)
{
const struct ec_completed_node *compnode;
-// const struct ec_completed_match *item;
+// const struct ec_completed_item *item;
// struct ec_completed_iter *iter;
struct ec_completed *c;
struct ec_parsed *p;