Moved helpdata method to function (leftover from when I was still
refactoring to use cmd_{} methods).