From: Alex Kuzmenko Date: Thu, 15 Dec 2016 13:47:38 +0000 (+0200) Subject: Fix setup.py option 'add_location' X-Git-Tag: v2.4.0~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be702b334453d0a22c18e7443a172cc5ee9f7d3;p=thirdparty%2Fbabel.git Fix setup.py option 'add_location' --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index da4323cb..fb171e36 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -277,7 +277,7 @@ class extract_messages(Command): 'path to the mapping configuration file'), ('no-location', None, 'do not include location comments with filename and line number'), - ('add-location', None, + ('add-location=', None, 'location lines format. If it is not given or "full", it generates ' 'the lines with both file name and line number. If it is "file", ' 'the line number part is omitted. If it is "never", it completely '