Skip to content

Commit

Permalink
yanglint BUGFIX doxygen errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lePici committed Jun 20, 2023
1 parent 7560f5b commit e8810b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tools/lint/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void get_features(const struct ly_set *fset, const char *module, const char ***f
/**
* @brief Parse features being specified for the specific YANG module.
*
* Format of the input @p fstring is as follows: <module_name>:[<feature>,]*
* Format of the input @p fstring is as follows: "<module_name>:[<feature>,]*"
*
* @param[in] fstring Input string to be parsed.
* @param[in, out] fset Features information set (of struct schema_features *). The set is being filled.
Expand Down Expand Up @@ -140,7 +140,7 @@ int print_all_features(struct ly_out *out, const struct ly_ctx *ctx, ly_bool gen
* @param[in] path Schema module file path to be parsed.
* @param[out] dir Pointer to the directory path where the file resides. Caller is expected to free the returned string.
* @param[out] module Pointer to the name of the module (without file suffixes or revision information) specified by the
* @path. Caller is expected to free the returned string.
* @p path. Caller is expected to free the returned string.
* @return 0 on success
* @return -1 on error
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ LYD_FORMAT get_data_format(const char *filename);
*
* Either the @p schema or @p data parameter is set.
*
* @param[in] filename Name of the file to examine.
* @param[in] filepath Name of the file to examine.
* @param[out] schema_form Pointer to a variable to store the input schema format.
* @param[out] data_form Pointer to a variable to store the expected input data format.
* @return zero in case a format was successfully detected.
Expand Down
4 changes: 2 additions & 2 deletions tools/lint/completion.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ get_model_completion(const char *hint, char ***matches, unsigned int *match_coun
* @brief Add all child nodes of a single node to the completion hint.
*
* @param[in] last_node Node of which children will be added to the hint.
* @param matches[out] Matches provided to the user as a completion hint.
* @param match_count[out] Number of matches.
* @param[out] matches Matches provided to the user as a completion hint.
* @param[out] match_count Number of matches.
*/
static void
single_hint_add_children(const struct lysc_node *last_node, char ***matches, unsigned int *match_count)
Expand Down
2 changes: 1 addition & 1 deletion tools/lint/main_ni.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ fill_context_inputs(int argc, char *argv[], int optind, LYD_FORMAT data_in_forma
/**
* @brief Enable specific debugging messages.
*
* @param[in] groups String in the form <group>[,group>]*.
* @param[in] groups String in the form "<group>[,group>]*".
* @param[in,out] yo Options for yanglint.
* return 0 on success.
*/
Expand Down

0 comments on commit e8810b9

Please sign in to comment.