]> mj.ucw.cz Git - bex.git/commitdiff
Fixed help text
authorMartin Mares <mj@ucw.cz>
Mon, 6 Jul 2015 10:44:13 +0000 (12:44 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 6 Jul 2015 10:44:13 +0000 (12:44 +0200)
"bex qman init", not "bex qman --init"

lib/perl/BEX/Queue.pm

index 9fb242879178209afce1b47be96602076aec26c8..68d8d792cc400b3f28d93abd1f3a5a4cde44745a 100644 (file)
@@ -16,7 +16,7 @@ sub new($;$) {
        my ($class, $name) = @_;
        $name //= 'queue';
        my $path = $BEX::Config::home . '/' . $name;
-       -d $path or die "Queue directory $path does not exist (use bex qman --init to create it)\n";
+       -d $path or die "Queue directory $path does not exist (use 'bex qman init' to create it)\n";
        -d "$path/hosts" && -d "$path/jobs" or die "Queue directory $path is misconfigured\n";
        my $queue = {
                'Name' => $name,