From: Hyunjun Kim Date: Fri, 16 Aug 2013 11:08:23 +0000 (+0900) Subject: Fixed typos on cli errors. X-Git-Tag: 2.0~3^2~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca2f29cba122b3f6d64ea13669eb6210f0e457b5;p=thirdparty%2Fbabel.git Fixed typos on cli errors. --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index 144bc98a..3d496f3e 100755 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -89,7 +89,7 @@ class compile_catalog(Command): raise DistutilsOptionError('you must specify either the input file ' 'or the base directory') if not self.output_file and not self.directory: - raise DistutilsOptionError('you must specify either the input file ' + raise DistutilsOptionError('you must specify either the output file ' 'or the base directory') def run(self): @@ -750,7 +750,7 @@ class CommandLineInterface(object): mo_files.append(options.output_file) else: if not options.directory: - parser.error('you must specify either the input file or ' + parser.error('you must specify either the output file or ' 'the base directory') mo_files.append(os.path.join(options.directory, options.locale, 'LC_MESSAGES',