added the ability for HDB to use sh/qrz remotely
[spider.git] / cmd / dbavail.pl
index 9d898514f374a588daa363d39ffd8e3098fb312f..5bfcb32e17d2bc937afc933bf7faf40b12e4dc19 100644 (file)
@@ -10,7 +10,7 @@ my @out;
 my $f;
 
 foreach $f (values %DXDb::avail) {
-       push @out, "DB Name          Location" unless @out;
-       push @out, sprintf "%-15s  %-s", $f->name, $f->remote ? $f->remote : "Local"; 
+       push @out, "DB Name          Location   Cmd            Chain" unless @out;
+       push @out, sprintf "%-15s  %-10s %-15s %s", $f->name, $f->remote ? $f->remote : "Local", ($f->localcmd || ""), $f->chain ? parray($f->chain) : ""; 
 }
 return (1, @out);