This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=d8fe930267a88c6b232985615680dd6a41342194

commit d8fe930267a88c6b232985615680dd6a41342194
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Dec 17 20:12:26 2023 +0100

    dpkg-buildapi: Do not include newline in Usage text to be translated
    
    All other such entries do not include the newline, which means we are
    introducing a gratuitous string that is otherwise already translated.
    
    Changelog: internal
---
 scripts/dpkg-buildapi.pl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/scripts/dpkg-buildapi.pl b/scripts/dpkg-buildapi.pl
index 72d32629a..b34bcf56a 100755
--- a/scripts/dpkg-buildapi.pl
+++ b/scripts/dpkg-buildapi.pl
@@ -35,14 +35,14 @@ sub version()
 
 sub usage()
 {
-    printf(g_("Usage: %s [<option>...]\n"), $Dpkg::PROGNAME);
-
-    print(g_('
-Options:
+    printf g_(
+'Usage: %s [<option>...]')
+    . "\n\n" . g_(
+'Options:
   -c<control-file>         get control info from this file.
   -?, --help               show this help message.
   -v, --version            show the version.
-'));
+'), $Dpkg::PROGNAME;
 }
 
 my $controlfile = 'debian/control';

-- 
Dpkg.Org's dpkg

Reply via email to