diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-09 14:39:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-03-09 14:39:41 +0200 |
commit | 1ec2ca23bbc6d81ccc4cf2384228f8034188687d (patch) | |
tree | 9fd5456906ec801bc73e9039c0f8e08b448e0bdb /odb/options.cli | |
parent | e89a00af0b935183af40479f634db0a098c34e4a (diff) |
Add support for --show-sloc and --sloc-limit options
Diffstat (limited to 'odb/options.cli')
-rw-r--r-- | odb/options.cli | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli index ae72e25..95a5d4c 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -5,6 +5,7 @@ include <set>; include <vector>; include <string>; +include <cstddef>; include <odb/option-types.hxx>; @@ -451,6 +452,18 @@ class options preprocessor macro name are replaced with underscores." }; + bool --show-sloc + { + "Print the number of generated physical source lines of code (SLOC)." + }; + + std::size_t --sloc-limit + { + "<num>", + "Check that the number of generated physical source lines of code (SLOC) + does not exceed <num>." + }; + // The following option is "fake" in that it is actually handled by // argv_file_scanner. We have it here to get the documentation. // |