feat(video2x): print help when no args are specified

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x 2024-11-26 00:00:00 +00:00
parent 073f706980
commit 2fc89e3883
No known key found for this signature in database

View File

@ -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