"help show" uses old alias
coandco opened this issue · 1 comments
coandco commented
Here's what typing help show
into psysh outputs:
Usage:
show [--ex [EX]] [--] [<target>]
Arguments:
target Function, class, instance, constant, method or property to show.
Options:
--ex Show last exception context. Optionally specify a stack index. (default: 1)
Help:
Show the code for an object, class, constant, method or property, or the context
of the last exception.
cat --ex defaults to showing the lines surrounding the location of the last
exception. Invoking it more than once travels up the exception's stack trace,
and providing a number shows the context of the given index of the trace.
e.g.
>>> show $myObject
>>> show Psy\Shell::debug
>>> show --ex
>>> show --ex 3
Note that it says "cat --ex" in the help message, but cat
isn't a command or alias:
> cat
Error Undefined constant "cat".
bobthecow commented
Thanks for the heads up!