Commit 3b926d6e authored by Robert Ricci's avatar Robert Ricci

Tweaks to inuse

Always print out node types, and only print out the reservation
time if the caller asks for it.
parent 36b8a791
......@@ -38,7 +38,7 @@ sub usage() {
}
my $optlist = "t:p:e:srafFhR";
my @columns = ("n.node_id","pid","eid","rsrv_time","reserved_pid");
my @columns = ("n.node_id","n.type","pid","eid","reserved_pid");
my %opt = ();
if (! getopts($optlist, \%opt)) {
......@@ -101,6 +101,7 @@ my $sortclause = "order by priority";
if ($opt{s}) {
$sortclause = "order by pid,eid,priority";
} elsif ($opt{r}) {
push @columns, "rsrv_time";
$sortclause = "order by rsrv_time,priority";
}
......
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