summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunjun Kim <kim@hyunjun.kr>2013-08-16 20:08:23 +0900
committerHyunjun Kim <kim@hyunjun.kr>2013-08-16 20:08:23 +0900
commitca2f29cba122b3f6d64ea13669eb6210f0e457b5 (patch)
tree756af18858440f9f4f5b35ff13c8af7c7f1d81e9
parent81bd993b278154eb61086bdddbaad22b1e7d68c6 (diff)
downloadbabel-ca2f29cba122b3f6d64ea13669eb6210f0e457b5.tar.gz
Fixed typos on cli errors.
-rwxr-xr-xbabel/messages/frontend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py
index 144bc98..3d496f3 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',