From f28916f1f0080cfee6a448f410d8fbbe9f0adb05 Mon Sep 17 00:00:00 2001 From: Earle Lowe <30607889+emlowe@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:58:23 -0800 Subject: [PATCH] Update cxxopts to 3.1.1 (#412) --- CMakeLists.txt | 2 +- src/cli.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d84043d7a..77a48219c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/src/cli.cpp b/src/cli.cpp index 8f96d7364..3044c9785 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -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) {