Skip to content
Snippets Groups Projects
Commit d0c7732f authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added --fuzzy for phrase prefix search

parent fc108cad
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@ Examples:
* How many AIPs were created in 2021-05-31?
'$0 count -c 2021-05-31'
* How many AIPs with mkv-files are in archive?
'$0 count --with-format fmt/569'
'$0 count --pronom-id fmt/569'
DESCR
sub description {
......@@ -42,11 +42,12 @@ sub opt_spec {
]
}
],
["descriptive|d=s" => "count based on string search in descriptive metadata"],
["lzaid|l=s", "count AIPs by given LZA id"],
["format" => hidden => {one_of => [
["pronom-id|p=s" => "with pronom format id"],
#["without-format=s" => "without pronom format id"],
['descriptive|d=s' => 'count based on string search in descriptive metadata, using exact match'],
['fuzzy|f=s' => 'count based on string search in descriptive metadata, using phrase prefix match' ],
['lzaid|l=s' => 'count AIPs by given LZA id'],
['format' => hidden => {one_of => [
['pronom-id|p=s' => 'with pronom format id'],
#['without-format=s' => "without pronom format id"],
] } ],
[ 'onlymode' => hidden => {
one_of => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment