Commit 3ae2488c authored by claes's avatar claes

list command shows description

parent a145542c
......@@ -598,7 +598,10 @@ sub list ()
print("-- Defined environments:\n");
foreach $env (sort keys (%envdb)) {
printf(" %s\n", $env);
$varstr = $envdb{$env};
($sroot, $vmsinc, $broot, $btype, $os, $hw, $desc) = split(/:/, $varstr);
@vars = ($sroot, $vmsinc, $broot, $btype, $os, $hw, $desc);
printf(" %s %s\n", $env, $desc);
}
print("--\n");
......
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