Skip to content
Snippets Groups Projects
Commit e46e6f99 authored by Beat Küng's avatar Beat Küng Committed by Daniel Agar
Browse files

module template: move documentation to a new category 'template' (#9324)

parent a05bf390
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ class ModuleDocumentation(object):
"""
valid_categories = ['driver', 'estimator', 'controller', 'system',
'communication', 'command']
'communication', 'command', 'template']
max_line_length = 80 # wrap lines that are longer than this
......
......@@ -403,7 +403,7 @@ __EXPORT void PRINT_MODULE_DESCRIPTION(const char *description);
/**
* Print the command name
* @param executable_name: command name used in scripts & CLI
* @param category one of: driver, estimator, controller, system, communication, command
* @param category one of: driver, estimator, controller, system, communication, command, template
*/
__EXPORT void PRINT_MODULE_USAGE_NAME(const char *executable_name, const char *category);
......
......@@ -63,7 +63,7 @@ $ module start -f -p 42
)DESCR_STR");
PRINT_MODULE_USAGE_NAME("module", "system");
PRINT_MODULE_USAGE_NAME("module", "template");
PRINT_MODULE_USAGE_COMMAND("start");
PRINT_MODULE_USAGE_PARAM_FLAG('f', "Optional example flag", true);
PRINT_MODULE_USAGE_PARAM_INT('p', 0, 0, 1000, "Optional example parameter", true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment