summaryrefslogtreecommitdiffstats
path: root/scripts/dpkg-buildapi.pl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:40:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:40:30 +0000
commit396478fcc2ed755e02e2573c8be89e9a98aec512 (patch)
tree5f3b06ddc745429831d93323182288ade533804f /scripts/dpkg-buildapi.pl
parentAdding debian version 1.22.4. (diff)
downloaddpkg-396478fcc2ed755e02e2573c8be89e9a98aec512.tar.xz
dpkg-396478fcc2ed755e02e2573c8be89e9a98aec512.zip
Merging upstream version 1.22.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xscripts/dpkg-buildapi.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/dpkg-buildapi.pl b/scripts/dpkg-buildapi.pl
index b34bcf5..2981eeb 100755
--- a/scripts/dpkg-buildapi.pl
+++ b/scripts/dpkg-buildapi.pl
@@ -36,12 +36,14 @@ sub version()
sub usage()
{
printf g_(
-'Usage: %s [<option>...]')
+'Usage: %s [<option>...] [<command>]')
+ . "\n\n" . g_(
+'Commands:
+ -?, --help show this help message.
+ --version show the version.')
. "\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;
}
@@ -52,7 +54,7 @@ while (@ARGV) {
if (m/^-\?|--help$/) {
usage();
exit 0;
- } elsif (m/^-v|--version$/) {
+ } elsif (m/^--version$/) {
version();
exit 0;
} elsif (m/-c(.*)$/) {