[#760] cli: Support COMMON_PREFIX matchtype

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-20 07:18:59 +03:00 committed by Alex Vanin
parent 4ff98a7e2b
commit 9b32b5523d

View file

@ -511,6 +511,7 @@ var searchUnaryOpVocabulary = map[string]object.SearchMatchType{
var searchBinaryOpVocabulary = map[string]object.SearchMatchType{
"EQ": object.MatchStringEqual,
"NE": object.MatchStringNotEqual,
"COMMON_PREFIX": object.MatchCommonPrefix,
}
func parseSearchFilters(cmd *cobra.Command) (object.SearchFilters, error) {