terminal: implement whatis command

Implements #596
This commit is contained in:
aarzilli
2017-08-09 15:55:39 +02:00
committed by Derek Parker
parent 317ebe1c58
commit c2092d1669
2 changed files with 31 additions and 1 deletions

View File

@ -39,6 +39,7 @@ Command | Description
[trace](#trace) | Set tracepoint.
[types](#types) | Print list of types
[vars](#vars) | Print package variables.
[whatis](#whatis) | Prints type of an expression.
## args
Print function arguments.
@ -320,3 +321,9 @@ Print package variables.
If regex is specified only package variables with a name matching it will be returned. If -v is specified more information about each package variable will be shown.
## whatis
Prints type of an expression.
whatis <expression>.