diff options
author | Eric Wong <e@80x24.org> | 2021-04-22 07:08:22 -0200 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-22 17:05:48 -0400 |
commit | 3a6e13b7f3cf04b9a3dd0fdd3ed4d96a05e31e9f (patch) | |
tree | 85f3a792eb544639b9fab2bc508a5bd30cb05349 /t | |
parent | 21c0a681c3c9bdcdeffc6516db65812c7635cd68 (diff) | |
download | public-inbox-3a6e13b7f3cf04b9a3dd0fdd3ed4d96a05e31e9f.tar.gz |
Supporting --no-keywords and --no-flags aliases is harmful if users end up assuming "keywords:" and "flags:" are valid search prefixes (they're not).
Diffstat (limited to 't')
-rw-r--r-- | t/lei.t | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -131,8 +131,7 @@ my $test_completion = sub { } lei_ok(qw(_complete lei import)); %out = map { $_ => 1 } split(/\s+/s, $lei_out); - for my $sw (qw(--flags --no-flags --no-kw --kw --no-keywords - --keywords)) { + for my $sw (qw(--no-kw --kw)) { ok($out{$sw}, "$sw offered as `lei import' completion"); } }; |