From d02af113f7d03e535d61a43519f15f751c4e0b8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Diemer?= Date: Fri, 8 Apr 2016 16:46:48 +0200 Subject: [PATCH] fix typos in messages frontend The 'no-wrap', 'ignore-obsolete', 'no-fuzzy-matching', 'previous' and 'update-header-comment' were not correctly parsed in the update_catalog command. --- 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 ddddc02e..62e7c03e 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -597,7 +597,7 @@ class update_catalog(Command): ('previous', None, 'keep previous msgids of translated messages') ] - boolean_options = ['ignore_obsolete', 'no_fuzzy_matching', 'previous', 'update_header_comment'] + boolean_options = ['no-wrap', 'ignore-obsolete', 'no-fuzzy-matching', 'previous', 'update-header-comment'] def initialize_options(self): self.domain = 'messages' -- 2.47.3