mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 06:59:11 +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
|
#endif
|
||||||
po::notify(vm);
|
po::notify(vm);
|
||||||
|
|
||||||
if (vm.count("help")) {
|
if (vm.count("help") || argc == 1) {
|
||||||
std::cout << all_opts << std::endl;
|
std::cout << all_opts << std::endl;
|
||||||
std::cout
|
std::cout
|
||||||
<< "Examples:" << std::endl
|
<< "Examples:" << std::endl
|
||||||
|
Loading…
Reference in New Issue
Block a user