Skip to content

Commit e5dd284

Browse files
authored
Update cxxopts to v3.3.1 (#128)
cxxopts to v3.3.1 Authors: - Vitor Sessak (https://github.com/vitor1001) Approvers: - Akif ÇÖRDÜK (https://github.com/akifcorduk) - Bradley Dice (https://github.com/bdice) URL: #128
1 parent 4824781 commit e5dd284

File tree

5 files changed

+1198
-490
lines changed

5 files changed

+1198
-490
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ repos:
6363
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
6464
CMakeLists[.]txt$|
6565
meta[.]yaml$
66+
exclude: |
67+
(?x)^(
68+
^cpp/tests/utilities/cxxopts.hpp
69+
)
6670
- repo: https://github.com/pre-commit/mirrors-clang-format
6771
rev: v20.1.4
6872
hooks:

cpp/tests/utilities/base_fixture.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ inline auto parse_test_options(int argc, char** argv)
104104
"rmm_mode", "RMM allocation mode", cxxopts::value<std::string>()->default_value("pool"));
105105

106106
return options.parse(argc, argv);
107-
} catch (const cxxopts::OptionException& e) {
107+
} catch (const std::exception& e) {
108108
cuopt_assert(false, "Error parsing command line options");
109109
}
110110

0 commit comments

Comments
 (0)