On Mon, Sep 26, 2016 at 09:12:52AM -0400, David G. Simmons wrote: > I reported this bug months ago. Seems the newtmgr does not check for > required arguments/length. The stat command requires arguments, but > newtmgr does not check that arguments are present, and then 'index out > of range' exception.
The Go panic (index out of range, stack trace) is definitely a bug that should be fixed. However, the issue that Kevin reported in the first email (newtmgr doesn't list of stat types when required argument is missing) is a bit tougher. The available stat types differs by firmware image, so the fix would require newtmgr to send a query to the device, and the device to respond with the list of stat types that it supports. Thanks, Chris
