summaryrefslogtreecommitdiff
path: root/cli/runtime-header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/runtime-header.cxx')
-rw-r--r--cli/runtime-header.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx
index 41c56c9..a1cf114 100644
--- a/cli/runtime-header.cxx
+++ b/cli/runtime-header.cxx
@@ -278,9 +278,13 @@ generate_runtime_header (context& ctx)
<< endl
<< "struct option_info"
<< "{"
- << " const char* option;"
- << " std::string (*search_func) (const char*, void* arg);"
- << " void* arg;"
+ << "// If search_func is not NULL, it is called, with the arg" << endl
+ << "// value as the second argument, to locate the options file." << endl
+ << "// If it returns an empty string, then the file is ignored." << endl
+ << "//" << endl
+ << "const char* option;"
+ << "std::string (*search_func) (const char*, void* arg);"
+ << "void* arg;"
<< "};"
<< "argv_file_scanner (int& argc," << endl
<< "char** argv," << endl