Skip to content

Commit

Permalink
Make target_index() sort the function list
Browse files Browse the repository at this point in the history
Gives a nice alphabetized list in --index
  • Loading branch information
hinrik committed Jul 6, 2009
1 parent 749fd9a commit e30e5a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
@@ -1,6 +1,8 @@
0.11
- Use PAGER environment variable if set
- Fix bug which was causing it to only accept 's02' but not 's02-bits'
- Make target_index (and, by extension, --index) return function list
in sorted order

0.10 Thu Jul 2 16:49:16 GMT 2009
- Add 'pod' output format for Pod 5, and u-/--unformatted
Expand Down
2 changes: 1 addition & 1 deletion lib/App/Grok.pm
Expand Up @@ -152,7 +152,7 @@ sub target_index {
push @index, map { "S32-$_" } @sections;

# functions from synopsis 29
push @index, keys %{ $self->read_functions() };
push @index, sort keys %{ $self->read_functions() };

return @index;
}
Expand Down

0 comments on commit e30e5a5

Please sign in to comment.