]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Fixed typos on cli errors.
authorHyunjun Kim <kim@hyunjun.kr>
Fri, 16 Aug 2013 11:08:23 +0000 (20:08 +0900)
committerHyunjun Kim <kim@hyunjun.kr>
Fri, 16 Aug 2013 11:08:23 +0000 (20:08 +0900)
babel/messages/frontend.py

index 144bc98a108080149bdd5fce35f051649cbec42b..3d496f3ee9c8b44349e61a88a89321db5f6b66db 100755 (executable)
@@ -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',