Commit b80287db authored by Pontus Larsson's avatar Pontus Larsson
Browse files

Fixed usage display

parent fd62cc99
......@@ -59,6 +59,8 @@ my $store;
my $clean;
my $help;
usage() if (!scalar(@ARGV));
# options to be read in from the commandline
'chost:s' => \$chost,
......@@ -79,7 +81,7 @@ my $help;
'help!' => \$help
usage() if (defined($help) || !scalar(@ARGV));
usage() if (defined($help));
# some checks, if not explicitly specified otherwise, will use the same connection credentials for variation as for core but the database name must be specified
if (!defined $chost || !defined $cuser || !defined $cdbname || !defined $cpass || !defined $cport || (!defined($file) && !defined $vdbname)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment