From 4524177fe242fe12576af657b84b94ea123c1a30 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 10 May 2016 00:05:21 +0300 Subject: [PATCH] Add descriptive error message --- scripts/ml-search.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.39.5