/** * Return an InputStream for the man page for the named command. */ public static BufferedReader getManPage(String commandName, CommandModel model) { Class clazz = model.getCommandClass(); if (clazz == null) { return null; } return ManPageFinder.getCommandManPage(commandName, clazz.getName(), Locale.getDefault(), clazz.getClassLoader(), logger); }
/** * Return an InputStream for the man page for the named command. */ public static BufferedReader getManPage(String commandName, CommandModel model) { Class clazz = model.getCommandClass(); if (clazz == null) { return null; } return ManPageFinder.getCommandManPage(commandName, clazz.getName(), Locale.getDefault(), clazz.getClassLoader(), logger); }