Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            return commandLine;
        }
    
        public Set<Option> getUsedDeprecatedOptions() {
            return usedDeprecatedOptions;
        }
    
        public void displayHelp(PrintStream stdout) {
            displayHelp(new PrintWriter(stdout));
        }
    
        public void displayHelp(PrintWriter pw) {
            HelpFormatter formatter = new HelpFormatter();
    
            int width = MessageUtils.getTerminalWidth();
            if (width <= 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        }
    
        @Override
        public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) {}
    
        @Override
        public void displayHelp(ParserRequest request, Consumer<String> printWriter) {
            options.get(0).displayHelp(request, printWriter);
        }
    
        protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) {
            for (O option : options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                }
                printWriter.accept(sb.toString());
            }
        }
    
        @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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

        /**
         * Displays help information for these options.
         *
         * @param printWriter the string consumer to use for output
         */
        void displayHelp(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            R invokerRequest = context.invokerRequest;
            if (invokerRequest.options().help().isPresent()) {
                Consumer<String> writer = determineWriter(context);
                invokerRequest.options().displayHelp(context.invokerRequest.parserRequest(), writer);
                throw new ExitException(0);
            }
            if (invokerRequest.options().showVersionAndExit().isPresent()) {
                showVersion(context);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top