Skip to content

Commit

Permalink
done changes in else block
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavankumar07s committed Nov 14, 2024
1 parent d53e704 commit 9de1e58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ auto jsonschema_main(const std::string &program, const std::string &command,
return sourcemeta::jsonschema::cli::encode(arguments);
} else if (command == "decode") {
return sourcemeta::jsonschema::cli::decode(arguments);
}
{
} else {
std::cout << "JSON Schema CLI - v"
<< sourcemeta::jsonschema::cli::PROJECT_VERSION << "\n";
std::cout << "Usage: " << std::filesystem::path{program}.filename().string()
Expand Down

0 comments on commit 9de1e58

Please sign in to comment.