From: Oleg Broytman Date: Mon, 9 May 2016 21:05:21 +0000 (+0300) Subject: Add descriptive error message X-Git-Tag: 0.0.4~8 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4524177fe242fe12576af657b84b94ea123c1a30;p=m_librarian.git Add descriptive error message --- diff --git a/scripts/ml-search.py b/scripts/ml-search.py index e163daf..07563b9 100755 --- a/scripts/ml-search.py +++ b/scripts/ml-search.py @@ -58,6 +58,9 @@ if __name__ == '__main__': args = main_parser.parse_args() if args.case_sensitive: if args.ignore_case: + sys.stderr.write( + "Cannot search case sensitive and case insensitive " + "at the same time\n") main_parser.print_help() sys.exit(1) else: