mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-26 22:09:09 +00:00
feat(video2x): print help when no args are specified
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
parent
073f706980
commit
2fc89e3883
@ -438,7 +438,7 @@ int main(int argc, char **argv) {
|
||||
#endif
|
||||
po::notify(vm);
|
||||
|
||||
if (vm.count("help")) {
|
||||
if (vm.count("help") || argc == 1) {
|
||||
std::cout << all_opts << std::endl;
|
||||
std::cout
|
||||
<< "Examples:" << std::endl
|
||||
|
Loading…
Reference in New Issue
Block a user