aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_search_cmdline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_search_cmdline.cc')
-rw-r--r--src/clients/cave/cmd_search_cmdline.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_search_cmdline.cc b/src/clients/cave/cmd_search_cmdline.cc
index 90652ab4a..6891766d1 100644
--- a/src/clients/cave/cmd_search_cmdline.cc
+++ b/src/clients/cave/cmd_search_cmdline.cc
@@ -60,3 +60,12 @@ SearchCommandLineMatchOptions::SearchCommandLineMatchOptions(args::ArgsHandler *
{
}
+SearchCommandLineIndexOptions::SearchCommandLineIndexOptions(args::ArgsHandler * const h) :
+ ArgsSection(h, "Index Options"),
+ g_index_options(this, "Index Options", "Controls the use of an index. An index may be created using "
+ "cave manage-search-index. Note that strange errors or partial results may occur if the index "
+ "is not up to date."),
+ a_index(&g_index_options, "index", '\0', "Use the specified index file")
+{
+}
+