From cda7ae7fb8da9eeb0e8aeb3df5a5ae8a9675102c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 Aug 2020 20:24:40 +0000 Subject: init: drop -N alias for --skip-artnum It may be too easily confused for --newsgroup or --ng. This is too rarely used and never made it into a release, so it should be fine. --- t/init.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/init.t') diff --git a/t/init.t b/t/init.t index 6211bb58..4d2c5049 100644 --- a/t/init.t +++ b/t/init.t @@ -116,7 +116,7 @@ SKIP: { 'publicinboxmda.spamcheck', 'none') == 0 or BAIL_OUT "git config $?"; my $addr = 'skip3@example.com'; - $cmd = [ qw(-init -V2 -Lbasic -N12 skip3), "$tmpdir/skip3", + $cmd = [ qw(-init -V2 -Lbasic --skip-artnum=12 skip3), "$tmpdir/skip3", qw(http://example.com/skip3), $addr ]; ok(run_script($cmd), '--skip-artnum -V2'); my $env = { ORIGINAL_RECIPIENT => $addr }; @@ -131,7 +131,7 @@ SKIP: { $addr = 'skip4@example.com'; $env = { ORIGINAL_RECIPIENT => $addr }; - $cmd = [ qw(-init -V1 -N12 -Lmedium skip4), "$tmpdir/skip4", + $cmd = [ qw(-init -V1 --skip-artnum 12 -Lmedium skip4), "$tmpdir/skip4", qw(http://example.com/skip4), $addr ]; ok(run_script($cmd), '--skip-artnum -V1'); $err = ''; -- cgit v1.2.3-24-ge0c7