aboutsummaryrefslogtreecommitdiff
path: root/src/helper/command.h
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-02-06 11:27:04 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-02-06 12:55:03 +0000
commit7719e2188e89a93813caf2ac8cfd7457cb605631 (patch)
tree7f5666dcabcb977c6fb107bebfacb7e2bf314280 /src/helper/command.h
parent374127301ec1d72033b9d573b72c7abdfd61990d (diff)
doxygen: use correct comment syntax
This issue was caused by uncrustify not correctly converting the doxygen comments. Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Change-Id: Ie6dc3b057a08603b670cb27312e5f0d989426e6c Reviewed-on: http://openocd.zylin.com/431 Tested-by: jenkins
Diffstat (limited to 'src/helper/command.h')
-rw-r--r--src/helper/command.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/helper/command.h b/src/helper/command.h
index 7c8c0121..01316a1a 100644
--- a/src/helper/command.h
+++ b/src/helper/command.h
@@ -52,7 +52,7 @@ enum command_mode {
struct command_context;
-/* / The type signature for command context's output handler. */
+/** The type signature for command context's output handler. */
typedef int (*command_output_handler_t)(struct command_context *context,
const char *line);
@@ -217,7 +217,7 @@ struct command_registration {
void *jim_handler_data;
enum command_mode mode;
const char *help;
- /* / a string listing the options and arguments, required or optional */
+ /** a string listing the options and arguments, required or optional */
const char *usage;
/**
@@ -229,7 +229,7 @@ struct command_registration {
const struct command_registration *chain;
};
-/* / Use this as the last entry in an array of command_registration records. */
+/** Use this as the last entry in an array of command_registration records. */
#define COMMAND_REGISTRATION_DONE { .name = NULL, .chain = NULL }
/**
@@ -415,10 +415,10 @@ DECLARE_PARSE_WRAPPER(_s8, int8_t);
int command_parse_bool_arg(const char *in, bool *out);
COMMAND_HELPER(handle_command_parse_bool, bool *out, const char *label);
-/* / parses an on/off command argument */
+/** parses an on/off command argument */
#define COMMAND_PARSE_ON_OFF(in, out) \
COMMAND_PARSE_BOOL(in, out, "on", "off")
-/* / parses an enable/disable command argument */
+/** parses an enable/disable command argument */
#define COMMAND_PARSE_ENABLE(in, out) \
COMMAND_PARSE_BOOL(in, out, "enable", "disable")