diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:40:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:40:28 +0000 |
commit | 774e54c8927088c60617dc9345f55eaabb23256a (patch) | |
tree | 7d82ddb667eaec624064c430b57818c78184e3c7 /scripts/dpkg-buildapi.pl | |
parent | Adding upstream version 1.22.4. (diff) | |
download | dpkg-774e54c8927088c60617dc9345f55eaabb23256a.tar.xz dpkg-774e54c8927088c60617dc9345f55eaabb23256a.zip |
Adding upstream version 1.22.5.upstream/1.22.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/dpkg-buildapi.pl')
-rwxr-xr-x | scripts/dpkg-buildapi.pl | 10 |
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(.*)$/) { |