about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-22 07:08:22 -0200
committerEric Wong <e@80x24.org>2021-04-22 17:05:48 -0400
commit3a6e13b7f3cf04b9a3dd0fdd3ed4d96a05e31e9f (patch)
tree85f3a792eb544639b9fab2bc508a5bd30cb05349 /t
parent21c0a681c3c9bdcdeffc6516db65812c7635cd68 (diff)
downloadpublic-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.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/lei.t b/t/lei.t
index 6ade2f18..6d276050 100644
--- a/t/lei.t
+++ b/t/lei.t
@@ -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");
         }
 };