* parsed chars on success and a negative value on error.
*
* complete_get_nb() returns the number of possible values for this
- * token if completion is possible. If it is NULL or if it returns 0,
+ * token if completion is possible. If it is NULL or if it returns 0,
* no completion is possible.
*
* complete_get_elt() copy in dstbuf (the size is specified in the
int (*complete_get_elt)(cmdline_parse_token_hdr_t *, int, char *, unsigned int);
/** get help for this token (token, dstbuf, size) */
int (*get_help)(cmdline_parse_token_hdr_t *, char *, unsigned int);
-};
+};
struct cmdline;
/**
/**
* A context is identified by its name, and contains a list of
- * instruction
+ * instruction
*
*/
typedef cmdline_parse_inst_t *cmdline_parse_ctx_t;
* modifying *state until it returns CMDLINE_PARSE_COMPLETED_BUFFER or
* CMDLINE_PARSE_COMPLETED_BUFFER.
*
- * It returns < 0 on error.
+ * It returns < 0 on error.
*
* Else it returns:
* - CMDLINE_PARSE_COMPLETED_BUFFER on completion (one possible