We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b35cb commit 8fbf6c1Copy full SHA for 8fbf6c1
src/main.cpp
@@ -42,8 +42,7 @@ int main(int argc, char** argv)
42
{
43
std::cout << "git2cpp version " << GIT2CPP_VERSION_STRING << " (libgit2 " << LIBGIT2_VERSION << ")" << std::endl;
44
}
45
-
46
- if (app.get_subcommands().size() == 0 && !version)
+ else if (app.get_subcommands().size() == 0)
47
48
std::cout << app.help() << std::endl;
49
0 commit comments