]> git.phdru.name Git - m_librarian.git/blobdiff - scripts/ml-search.py
Default search type is 'start'
[m_librarian.git] / scripts / ml-search.py
index 403780ad0603cf62f5eacec8021af38b86d8dc63..e6827f7fa66d48d480ed4d583b5f63ba8873a349 100755 (executable)
@@ -30,6 +30,7 @@ if __name__ == '__main__':
                              '(default is case-insensitive search)')
     main_parser.add_argument('-t', '--search-type',
                              choices=['exact', 'start', 'substring'],
+                             default='start',
                              help='search type: '
                              'exact match, substring at the start '
                              '(this is the default), substring anywhere')