Browse Source

add short descriptions to the task list

tags/2.07
Joey Hess 17 years ago
parent
commit
5aaa1e5ff7
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      tasksel.pl

+ 3
- 2
tasksel.pl View File

@@ -225,11 +225,12 @@ if (@ARGV) {
}

my @tasks=map { hide_dependent_tasks($_) } map { task_test($_) }
grep { task_avail($_) } map { read_task_desc($_) }
grep { task_avail($_) } map { read_task_desc($_) }
list_task_descs();

if ($options{"list-tasks"}) {
print $_->{task}."\n" foreach grep { $_->{_display} } @tasks;
print $_->{task}."\t".$_->{shortdesc}."\n"
foreach grep { $_->{_display} } @tasks;
exit(0);
}



Loading…
Cancel
Save