diff mercurial/debugcommands.py @ 38814:96b2e66dfa74

i18n: omit redundant translatable synopsis text to avoid xgettext warning This empty translatable synopsis text causes xgettext warning below: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. This "synopsis" argument of @command annotation is omitable.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 11 Jun 2018 12:32:16 +0900
parents b9162ea1b815
children 6371ab78c3b3
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Thu Aug 02 21:07:30 2018 +0900
+++ b/mercurial/debugcommands.py	Mon Jun 11 12:32:16 2018 +0900
@@ -949,8 +949,7 @@
         ui.write("%s\n" % f)
 
 @command('debugformat',
-         [] + cmdutil.formatteropts,
-        _(''))
+         [] + cmdutil.formatteropts)
 def debugformat(ui, repo, **opts):
     """display format information about the current repository