summaryrefslogtreecommitdiff
path: root/src/support/command-line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/command-line.cpp')
-rw-r--r--src/support/command-line.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/support/command-line.cpp b/src/support/command-line.cpp
index 2bdcd7c71..0e638173e 100644
--- a/src/support/command-line.cpp
+++ b/src/support/command-line.cpp
@@ -146,7 +146,7 @@ void Options::parse(int argc, const char* argv[]) {
<< currentOption << "' for " << positionalName << '\n';
exit(EXIT_FAILURE);
}
- // Fallthrough.
+ [[fallthrough]];
case Arguments::N:
positionalAction(this, currentOption);
++positionalsSeen;
@@ -186,7 +186,7 @@ void Options::parse(int argc, const char* argv[]) {
<< currentOption << "'\n";
exit(EXIT_FAILURE);
}
- // Fallthrough.
+ [[fallthrough]];
case Arguments::N:
if (!argument.size()) {
if (i + 1 == e) {