Red Hat Bugzilla – Bug 198807
"doc" command not conformant to documentation
Last modified: 2007-11-30 17:11:37 EST
Description of problem:
Typing "help doc" under octave returns:
-- Command: doc FUNCTION_NAME
Displays documentation for the function FUNCTION_NAME. For
example, if you want to see the documentation for the Octave
random number generator `rand', type
>>> doc rand
Version-Release number of selected component (if applicable):
Always, and more...
Steps to Reproduce:
Error is reported.
The documentation should be displayed.
Well, "doc" is a function and must be called as:
in order to operate properly. In fact the above line works fine.
Of course, "doc rand" would be much better, less and easier typing,
and conformant to the help.
I have just built a 2.9.6 release which appears to fix this problem on my
system. It should be available on the mirrors in the next day or two. I am
closing this bug, but if you still see the problem on 2.9.6, you can reopen it.
If you want "doc rand" to work on 2.9.5, try running the command
"mark_as_command doc" first.