changeset 38854: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 4ca5932065ca
children 617ae7e33a65
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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