diff options
author | wm4 <wm4@nowhere> | 2019-12-24 16:08:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-24 16:08:04 +0100 |
commit | 8e9644761a66ce277f1bf33bb5f6ab90375027de (patch) | |
tree | 6dabb954924ef0a95c9069f7b33586eb5065ccbc /stream/stream_null.c | |
parent | 1d2fcb9227544e29d261a7256f0774d78fd72e60 (diff) | |
download | mpv-8e9644761a66ce277f1bf33bb5f6ab90375027de.tar.bz2 mpv-8e9644761a66ce277f1bf33bb5f6ab90375027de.tar.xz |
console: add a basic help command
It's not really great. But I think it's good enough to save someone
who's lost. Most importantly, it should become obvious _what_ the
console expects (input commands), and how to exit it.
Would be nice if we could show some documentation, or give a link to
documentation, but that's out of scope and/or not easy.
I considered implementing the "help" command as builtin command in
command.c. On the other hand, this could not show console.lua specific
help, so I implemented it in console.lua. The ad-hoc command parsing
(that sort-of mirrors mpv input command syntax) for the "help" command
is probably the worst part of this.
Diffstat (limited to 'stream/stream_null.c')
0 files changed, 0 insertions, 0 deletions