openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
49 stars 36 forks source link

[cli] fix CLI commands output #119

Closed wgtdkp closed 4 years ago

wgtdkp commented 4 years ago

This PR

  1. fixes the output of the help command (it gave no command list).
  2. returns INVALID_COMMAND for invalid commands.
codecov-commenter commented 4 years ago

Codecov Report

Merging #119 into master will decrease coverage by 0.01%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
- Coverage   61.96%   61.95%   -0.02%     
==========================================
  Files          58       58              
  Lines        5369     5370       +1     
==========================================
  Hits         3327     3327              
- Misses       2042     2043       +1     
Impacted Files Coverage Δ
src/app/cli/interpreter.cpp 37.65% <0.00%> (-0.07%) :arrow_down: