From 9be702b334453d0a22c18e7443a172cc5ee9f7d3 Mon Sep 17 00:00:00 2001 From: Alex Kuzmenko Date: Thu, 15 Dec 2016 15:47:38 +0200 Subject: [PATCH] Fix setup.py option 'add_location' --- babel/messages/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' -- 2.47.2