{"record":{"id":"31d6e02979753c19","repo":"jenkinsci/jenkins","slug":"no-such-command-s-available-commands-are-above","errorCode":null,"errorMessage":"No such command %s. Available commands are above. ","messagePattern":"No such command (.+?)\\. Available commands are above\\. ","errorType":"exception","errorClass":"AbortException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/hudson/cli/HelpCommand.java","lineNumber":83,"sourceCode":"\n    private int showAllCommands() {\n        Map<String, CLICommand> commands = new TreeMap<>();\n        for (CLICommand c : CLICommand.all())\n            commands.put(c.getName(), c);\n\n        for (CLICommand c : commands.values()) {\n            stderr.println(\"  \" + c.getName());\n            stderr.println(\"    \" + c.getShortDescription());\n        }\n\n        return 0;\n    }\n\n    private int showCommandDetails() throws Exception {\n        CLICommand command = CLICommand.clone(this.command);\n        if (command == null) {\n            showAllCommands();\n            throw new AbortException(String.format(\"No such command %s. Available commands are above. \", this.command));\n        }\n\n        command.printUsage(stderr, command.getCmdLineParser());\n\n        return 0;\n    }\n}\n","sourceCodeStart":65,"sourceCodeEnd":91,"githubUrl":"https://github.com/jenkinsci/jenkins/blob/2e228ff40b14dbc8b14ffbc6edf0e4383cf744fc/core/src/main/java/hudson/cli/HelpCommand.java#L65-L91","documentation":"Error \"No such command %s. Available commands are above. \" thrown in jenkinsci/jenkins.","triggerScenarios":"Raised when the help CLI command is given the name of a command that does not exist. Run 'help' with no arguments to list available commands.","commonSituations":"See trigger scenarios.","solutions":["Check the list of available commands printed above the error and use one of them.","Run 'help' with no arguments to list all commands your permissions allow.","Check for typos in the command name."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2e228ff40b14dbc8b14ffbc6edf0e4383cf744fc","analyzedAt":"2026-08-14T07:07:15.274Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}