aboutsummaryrefslogtreecommitdiff
path: root/bdep/help.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/help.cxx')
-rw-r--r--bdep/help.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/bdep/help.cxx b/bdep/help.cxx
index cd2c671..e37c65d 100644
--- a/bdep/help.cxx
+++ b/bdep/help.cxx
@@ -62,4 +62,22 @@ namespace bdep
throw failed ();
}
+
+ default_options_files
+ options_files (const char*, const help_options&, const strings&)
+ {
+ // bdep.options
+ // bdep-help.options
+
+ return default_options_files {
+ {path ("bdep.options"), path ("bdep-help.options")},
+ nullopt /* start_dir */};
+ }
+
+ help_options
+ merge_options (const default_options<help_options>& defs,
+ const help_options& cmd)
+ {
+ return merge_default_options (defs, cmd);
+ }
}