Changeset 6bc35b4


Ignore:
Timestamp:
Aug 3, 2009, 7:46:32 PM (8 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
06f5ef8
Parents:
bd25f30
Message:
Complete the '-r' and '-s' arguments to 'view', as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Complete/Client.pm

    rbd25f30 r6bc35b4  
    4444sub complete_filter_name { return @{BarnOwl::all_filters()}; }
    4545sub complete_variable {}        # stub
     46sub complete_style {}           # stub
    4647
    4748my %filter_cmds = (
     
    206207    my $ctx = shift;
    207208    if ($ctx->word == 1) {
    208         return ("--home", "-d", complete_filter_name());
     209        return ("--home", "-d", "-r", "-s", complete_filter_name());
    209210    }
    210211    if ($ctx->words->[1] eq "--home") {
     
    213214    if ($ctx->words->[1] eq "-d") {
    214215        return complete_filter_expr($ctx, 2);
     216    }
     217    if ($ctx->words->[1] eq "-s") {
     218        return complete_style();
    215219    }
    216220    return;
Note: See TracChangeset for help on using the changeset viewer.