Include listing in help of non-class commands
This commit is contained in:
parent
87b141a6ab
commit
3cbeb1cd26
|
@ -424,7 +424,9 @@ class Pry
|
|||
end
|
||||
end
|
||||
|
||||
def help; description; end
|
||||
def help
|
||||
"#{command_options[:listing].to_s.ljust(18)} #{description}"
|
||||
end
|
||||
end
|
||||
|
||||
# A super-class ofr Commands with structure.
|
||||
|
|
Loading…
Reference in New Issue