projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
and we need the target directory
[debian/amanda]
/
device-src
/
amdevcheck.pl
diff --git
a/device-src/amdevcheck.pl
b/device-src/amdevcheck.pl
index fe47f3a3352839b4720d441f041bdb2ddf9a11f3..03c50f2dc5e2c79fb906c1cc9a5ef3b41c060760 100644
(file)
--- a/
device-src/amdevcheck.pl
+++ b/
device-src/amdevcheck.pl
@@
-1,5
+1,5
@@
#! @PERL@
#! @PERL@
-# Copyright (c) 2009 Zmanda, Inc. All Rights Reserved.
+# Copyright (c) 2009
, 2010
Zmanda, Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
@@
-21,6
+21,7
@@
use lib '@amperldir@';
use Getopt::Long;
use strict;
use Getopt::Long;
use strict;
+use warnings;
use Amanda::Device qw( :constants );
use Amanda::Config qw( :getconf :init );
use Amanda::Debug qw( :logging );
use Amanda::Device qw( :constants );
use Amanda::Config qw( :getconf :init );
use Amanda::Debug qw( :logging );
@@
-78,7
+79,7
@@
sub print_result {
sub usage {
print <<EOF;
sub usage {
print <<EOF;
-Usage: amdevcheck
<config> [ <device name> ] [ --properties {prop1,prop2,prop3}
]
+Usage: amdevcheck
[--label] [--properties {prop1,prop2,prop3}] [-o configoption]* <config> [<device name>
]
EOF
exit(1);
}
EOF
exit(1);
}