Skip to content

Commit

Permalink
Revert "done changes in else block"
Browse files Browse the repository at this point in the history
This reverts commit 9de1e58.
  • Loading branch information
Pavankumar07s committed Nov 14, 2024
1 parent 177db63 commit 64af3f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ 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 64af3f0

Please sign in to comment.