aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_search_cmdline.cc
diff options
context:
space:
mode:
authorAvatar Tom Trauth <coffee71@optimum.net> 2011-10-21 20:27:46 -0400
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-10-22 18:24:03 +0100
commitf12433cd2f6d22cec2bb68baa0f597690d5c18c9 (patch)
tree9495c1a9c5d41858ab2a256dc91fd936fafaa497 /src/clients/cave/cmd_search_cmdline.cc
parent5d7d834f9c35adc9164e629b4780a5454de800ab (diff)
downloadpaludis-f12433cd2f6d22cec2bb68baa0f597690d5c18c9.tar.gz
paludis-f12433cd2f6d22cec2bb68baa0f597690d5c18c9.tar.xz
Add -C/--case-sensitive option to the cave search command to make matching case sensitive
Diffstat (limited to 'src/clients/cave/cmd_search_cmdline.cc')
-rw-r--r--src/clients/cave/cmd_search_cmdline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_search_cmdline.cc b/src/clients/cave/cmd_search_cmdline.cc
index 6891766d1..c17c0af56 100644
--- a/src/clients/cave/cmd_search_cmdline.cc
+++ b/src/clients/cave/cmd_search_cmdline.cc
@@ -42,6 +42,7 @@ SearchCommandLineMatchOptions::SearchCommandLineMatchOptions(args::ArgsHandler *
("regex", 'r', "Match using pcre regular expressions, ignoring case"),
"text"
),
+ a_case_sensitive(&g_pattern_options, "case-sensitive", 'C', "Make matching case sensitive.", true),
a_and(&g_pattern_options, "and", '&', "If multiple patterns are specified, require that "
"all patterns match. Default is to succeed if any pattern matches.", true),
a_not(&g_pattern_options, "not", '!', "Invert the results of pattern matches.", true),