Changeset 4fde21c
- Timestamp:
- Jul 29, 2009, 10:05:51 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- f907cf0
- Parents:
- 747d6a5
- git-author:
- Nelson Elhage <nelhage@mit.edu> (07/29/09 21:43:35)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (07/29/09 22:05:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Complete/Client.pm
rd4ecc78 r4fde21c 21 21 sub complete_color { return @all_colors; } 22 22 23 sub complete_filter_args { 24 my $ctx = shift; 25 my $arg = shift; 26 return if $arg; 27 return @{BarnOwl::all_filters()}; 28 } 29 23 30 sub complete_help { 24 31 my $ctx = shift; … … 39 46 "-b" => \&complete_color, 40 47 }, 41 undef # TODO: make this get list of filters for the first argument 42 # then maybe some magic like completing keywords instance and other shiny 48 \&complete_filter_args 43 49 ); 44 50 }
Note: See TracChangeset
for help on using the changeset viewer.