buildsys: abi-generate: add usage output
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
aaf2ebd5eb
commit
a4ed09777b
10
debian/scripts/abi-generate
vendored
10
debian/scripts/abi-generate
vendored
@ -4,9 +4,13 @@ use PVE::Tools;
|
||||
|
||||
use IO::File;
|
||||
|
||||
my $input_file = shift;
|
||||
my $output_file = shift;
|
||||
my $abi = shift;
|
||||
sub usage {
|
||||
die "USAGE: $0 INFILE OUTFILE ABI [INFILE-IS-DEB]\n";
|
||||
}
|
||||
|
||||
my $input_file = shift // usage();
|
||||
my $output_file = shift // usage();
|
||||
my $abi = shift // usage();
|
||||
my $extract_deb = shift;
|
||||
|
||||
die "input file '$input_file' does not exist\n" if ! -e $input_file;
|
||||
|
Loading…
Reference in New Issue
Block a user