Skip to content

Commit

Permalink
feat(video2x): print help when no args are specified
Browse files Browse the repository at this point in the history
Signed-off-by: k4yt3x <i@k4yt3x.com>
  • Loading branch information
k4yt3x committed Nov 26, 2024
1 parent 073f706 commit 2fc89e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/video2x/src/video2x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2fc89e3

Please sign in to comment.