aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DriverOptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/DriverOptions.cpp b/DriverOptions.cpp
index 42d932c1..2998917f 100644
--- a/DriverOptions.cpp
+++ b/DriverOptions.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2017, 2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -194,7 +194,7 @@ DriverOptions::DriverOptions(int argc, char** argv)
{
cxxopts::ParseResult result = optionsDesc.parse(argc, argv);
}
- catch (const cxxopts::OptionException& e)
+ catch (const cxxopts::exceptions::exception& e)
{
ALOGW("An exception occurred attempting to parse program options: %s", e.what());
std::cout << optionsDesc.help() << std::endl