iocsh: Add underline separator between help outputs
Also tweaks the overall format of the message a bit. Add tests for new help output format
This commit is contained in:
14
modules/libcom/test/iocshTestHelpFunctions
Normal file
14
modules/libcom/test/iocshTestHelpFunctions
Normal file
@@ -0,0 +1,14 @@
|
||||
[1m
|
||||
testHelpFunction1[0m
|
||||
|
||||
Usage message of testHelpFunction1
|
||||
[4m
|
||||
[0m[1m
|
||||
testHelpFunction2[0m
|
||||
|
||||
Usage message of testHelpFunction2
|
||||
[4m
|
||||
[0m[1m
|
||||
testHelpFunction3[0m
|
||||
|
||||
Usage message of testHelpFunction3
|
||||
Reference in New Issue
Block a user