diff options
Diffstat (limited to 'include/console.h')
-rw-r--r-- | include/console.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/console.h b/include/console.h index 78fc6d8df4..c2785cc545 100644 --- a/include/console.h +++ b/include/console.h @@ -76,7 +76,10 @@ void cflush(void); void console_has_input(void); -/* Register a console command handler */ +/* + * Register a console command handler. Note that `name' must never be a + * beginning of another existing command name. + */ #define DECLARE_CONSOLE_COMMAND(name, routine) \ static const char __con_cmd_label_##name[] = #name; \ const struct console_command __con_cmd_##name \ |