Commit 3ae2488c authored by claes's avatar claes

list command shows description

parent a145542c
...@@ -598,7 +598,10 @@ sub list () ...@@ -598,7 +598,10 @@ sub list ()
print("-- Defined environments:\n"); print("-- Defined environments:\n");
foreach $env (sort keys (%envdb)) { 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"); 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