Skip to content

Commit

Permalink
Update cxxopts to 3.1.1 (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe authored Jan 23, 2024
1 parent f35fe50 commit f28916f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif()
FetchContent_Declare(
cxxopts
GIT_REPOSITORY https://github.com/jarro2783/cxxopts.git
GIT_TAG v2.2.1
GIT_TAG v3.1.1
)
FetchContent_MakeAvailable(cxxopts)

Expand Down
2 changes: 1 addition & 1 deletion src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ int main(int argc, char *argv[]) try {
cout << "Invalid operation '" << operation << "'. Use create/prove/verify/check" << endl;
}
return 0;
} catch (const cxxopts::OptionException &e) {
} catch (const cxxopts::exceptions::exception &e) {
cout << "error parsing options: " << e.what() << endl;
return 1;
} catch (const std::exception &e) {
Expand Down

0 comments on commit f28916f

Please sign in to comment.