Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for displayHelp (0.07 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public void displayHelp(ParserRequest request, Consumer<String> printStream) {
            super.displayHelp(request, printStream);
            printStream.accept("");
            // we have no DI here (to discover)
            printStream.accept("Goals:");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            return new CommonsCliOptions(source, cliManager, commandLine);
        }
    
        @Override
        public void displayHelp(ParserRequest request, Consumer<String> printStream) {
            cliManager.displayHelp(request.command(), printStream);
        }
    
        protected static class CLIManager {
            public static final String USER_PROPERTY = "D";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                cliManager.displayHelp(System.out);
                throw e;
            }
        }
    
        private void informativeCommands(CliRequest cliRequest) throws ExitException {
            if (cliRequest.commandLine.hasOption(CLIManager.HELP)) {
                cliManager.displayHelp(System.out);
                throw new ExitException(0);
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        protected void helpOrVersionAndMayExit(C context) throws Exception {
            if (context.options().help().isPresent()) {
                Consumer<String> writer = determineWriter(context);
                context.options().displayHelp(context.invokerRequest.parserRequest(), writer);
                throw new InvokerException.ExitException(0);
            }
            if (context.options().showVersionAndExit().isPresent()) {
                showVersion(context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top