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=3727ab2475fdf27bf70e9a72182ca5eef52341b6

commit 3727ab2475fdf27bf70e9a72182ca5eef52341b6 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Jan 24 22:58:50 2024 +0100

    dpkg-buildapi: Remove -v alias for --version
    
    This is not documented in the manual page, and diverges from almost
    every other script in the project. While strictly speaking this is an
    API break, the command is quite new and the option is no essential
    for operation and expected to be mostly used by users.
---
 scripts/dpkg-buildapi.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/dpkg-buildapi.pl b/scripts/dpkg-buildapi.pl
index ec86fcd96..2981eebb0 100755
--- a/scripts/dpkg-buildapi.pl
+++ b/scripts/dpkg-buildapi.pl
@@ -40,7 +40,7 @@ sub usage()
     . "\n\n" . g_(
 'Commands:
   -?, --help               show this help message.
-  -v, --version            show the version.')
+      --version            show the version.')
     . "\n\n" . g_(
 'Options:
   -c<control-file>         get control info from this file.
@@ -54,7 +54,7 @@ while (@ARGV) {
     if (m/^-\?|--help$/) {
         usage();
         exit 0;
-    } elsif (m/^-v|--version$/) {
+    } elsif (m/^--version$/) {
         version();
         exit 0;
     } elsif (m/-c(.*)$/) {

-- 
Dpkg.Org's dpkg

Reply via email to