From 2fc89e38835ada704f52dd89275f0ba1b83fc03a Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Tue, 26 Nov 2024 00:00:00 +0000 Subject: [PATCH] feat(video2x): print help when no args are specified Signed-off-by: k4yt3x --- tools/video2x/src/video2x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/video2x/src/video2x.cpp b/tools/video2x/src/video2x.cpp index c303dbb..724e85d 100644 --- a/tools/video2x/src/video2x.cpp +++ b/tools/video2x/src/video2x.cpp @@ -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