]> mj.ucw.cz Git - bex.git/blobdiff - bex
Maint: Do not forget +x
[bex.git] / bex
diff --git a/bex b/bex
index 860dce98c9747021c119f904961c3a5935658276..b1cb7b05b2c48d5b50f8bd90835d9a126f5e9f5c 100755 (executable)
--- a/bex
+++ b/bex
@@ -24,10 +24,10 @@ General options:
 Commands (and aliases):
 add (a)                Add new jobs to a queue
 job            Operations on queued jobs
-ls (l)         Show queues and jobs on them
 mach           List known machines and groups
 prun (pr)      Parallel version of `run'
-queue          Operations on queues
+qman           Management of queues
+queue (q)      Show queues and jobs on them
 run (r)                Run queued jobs
 AMEN
                        exit 0;
@@ -54,13 +54,13 @@ $sub =~ /^[0-9a-zA-Z]+$/ or die "Invalid subcommand $sub\n";
 
 my %aliases = (
        'a' => 'add',
-       'l' => 'ls',
        'p' => 'prun',
+       'q' => 'queue',
        'r' => 'run',
 );
 if (defined $aliases{$sub}) { $sub = $aliases{$sub}; }
 
-my $sub_path = "$bex_lib/bin/$sub";
+my $sub_path = "$bex_lib/bin/bex-$sub";
 -x $sub_path or die "Unknown subcommand $sub\n";
 
 $ENV{"BEX_HOME"} = $bex_home;