diff --git a/btrbk b/btrbk index 79f7db1..35d23b0 100755 --- a/btrbk +++ b/btrbk @@ -47,7 +47,7 @@ use Date::Calc qw(Today Delta_Days Day_of_Week); use Getopt::Std; use Data::Dumper; -our $VERSION = "0.10"; +our $VERSION = "0.11-dev"; our $AUTHOR = 'Axel Burri '; our $PROJECT_HOME = ''; @@ -102,7 +102,7 @@ sub VERSION_MESSAGE sub HELP_MESSAGE { - print STDERR "usage: $0 [options] \n"; + print STDERR "usage: btrbk [options] \n"; print STDERR "\n"; print STDERR "options:\n"; print STDERR " --help display this help message\n"; @@ -941,7 +941,7 @@ MAIN: my @today = Today(); my %opts; - unless(getopts('s:t:c:vql:p', \%opts)) { + unless(getopts('hc:vql:p', \%opts)) { VERSION_MESSAGE(); HELP_MESSAGE(0); exit 1;