@@ -0,0 +1,1319 @@
+package picocli;%0A%0Aimport org.junit.Ignore;%0Aimport org.junit.Test;%0Aimport picocli.CommandLine.Command;%0Aimport picocli.CommandLine.Parameters;%0A%0Aimport static org.junit.Assert.*;%0Aimport static picocli.CommandLine.ScopeType.INHERIT;%0A%0Apublic class Issue1471 %7B%0A    public CommandLine getTestCommandLine(ParentTestCommand parentCommand, TestCommand testCommand, CommandLine.IFactory factory) %7B%0A        CommandLine commandLine = new CommandLine(parentCommand, factory);%0A        commandLine.addSubcommand(testCommand);%0A        return commandLine;%0A    %7D%0A    @Command(name = %22parentTestCommand%22, mixinStandardHelpOptions = true, scope = INHERIT)%0A    static class ParentTestCommand %7B%0A    %7D%0A%0A    @Command(name = %22sorteotest%22)%0A    static class TestCommand %7B%0A        @Command(name = %22entertest%22, description = %22Start participating in a giveaway%22)%0A        void enter(@Parameters(arity = %221%22) String sentenceType,%0A                   @Parameters(arity = %221%22) String tweetUrl) %7B%0A            System.out.println(%22entering giveaway%22);%0A        %7D%0A    %7D%0A%0A    @Ignore%0A    @Test%0A    public void testIssue1741() %7B%0A        CommandLine commandLine = getTestCommandLine(new ParentTestCommand(), new TestCommand(), CommandLine.defaultFactory());%0A        assertEquals(0, commandLine.execute(%22sorteotest%22, %22entertest%22, %22sequenceType%22, %22url%22));%0A    %7D%0A%0A%7D%0A

Add failing test reproducing the issue