code: private CharSequence documentCommand(String command) {
  		MethodTarget methodTarget = commandRegistry.listCommands().get(command);
  		if (methodTarget == null) {
  			throw new IllegalArgumentException("Unknown command '" + command + "'");
  		}
  
  		AttributedStringBuilder result = new AttributedStringBuilder().append("\n\n");
  		List<ParameterDescription> parameterDescriptions = getParameterDescriptions(methodTarget);
  
  		// NAME
  		documentCommandName(result, command, methodTarget.getHelp());
  
  		// SYNOPSYS
  		documentSynopsys(result, command, parameterDescriptions);
  
  		// OPTIONS
  		documentOptions(result, parameterDescriptions);
  
  		// ALSO KNOWN AS
  		documentAliases(result, command, methodTarget);
  
  		// AVAILABILITY
  		documentAvailability(result, methodTarget);
  
  		result.append("\n");
  		return result;
  	}
docs: Return a description of a specific command. Uses a layout inspired by *nix man pages.