aboutsummaryrefslogtreecommitdiff
path: root/odb/options.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/options.hxx')
-rw-r--r--odb/options.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/options.hxx b/odb/options.hxx
index 883ad20..1615570 100644
--- a/odb/options.hxx
+++ b/odb/options.hxx
@@ -298,6 +298,9 @@ namespace cli
const std::string& option,
bool erase = false);
+ argv_file_scanner (const std::string& file,
+ const std::string& option);
+
struct option_info
{
// If search_func is not NULL, it is called, with the arg
@@ -322,6 +325,10 @@ namespace cli
std::size_t options_count,
bool erase = false);
+ argv_file_scanner (const std::string& file,
+ const option_info* options = 0,
+ std::size_t options_count = 0);
+
virtual bool
more ();
@@ -356,6 +363,8 @@ namespace cli
std::size_t i_;
bool skip_;
+
+ static int zero_argc_;
};
typedef std::vector<std::string> option_names;