aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-12 10:01:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-12 10:01:47 +0200
commit35bed9571166e80903ecfd69eb445a1a8df7a974 (patch)
tree4416d83337e844bb2ab6af297aa39fb35343c202 /odb/options.cli
parentc3c42b69ee9cda9634573497c4476a05c1f3d049 (diff)
Add options to warn about hard additions and deletions
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli18
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli
index c56ee28..6d67ca7 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -314,6 +314,24 @@ class options
Valid values are \cb{c++98} (default) and \cb{c++11}."
};
+ // Diagnostics.
+ //
+ bool --warn-hard-add
+ {
+ "Warn about hard-added data members."
+ };
+
+ bool --warn-hard-delete
+ {
+ "Warn about hard-deleted data members and persistent classes."
+ };
+
+ bool --warn-hard
+ {
+ "Warn about both hard-added and hard-deleted data members and
+ persistent classes."
+ };
+
// Output.
//
std::string --output-dir | -o