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