mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
improve help
This commit is contained in:
@@ -200,9 +200,13 @@ public class App
|
||||
*/
|
||||
private void printHelp(CmdLineParser parser, I18n i18n)
|
||||
{
|
||||
output.println(i18n.getMessage(I18n.USAGE));
|
||||
output.println();
|
||||
output.append(i18n.getMessage(I18n.OPTIONS)).println(":");
|
||||
output.println();
|
||||
parser.printUsage(output, i18n.getBundle());
|
||||
output.println();
|
||||
output.println(i18n.getMessage(I18n.SUBCOMMANDS_TITLE));
|
||||
output.append(i18n.getMessage(I18n.SUBCOMMANDS_TITLE)).println(":");
|
||||
output.println();
|
||||
|
||||
String group = null;
|
||||
|
||||
@@ -56,6 +56,9 @@ public class I18n
|
||||
/** Field description */
|
||||
public static final String GROUP_NOT_FOUND = "groupNotFound";
|
||||
|
||||
/** Field description */
|
||||
public static final String OPTIONS = "options";
|
||||
|
||||
/** Field description */
|
||||
public static final String REPOSITORY_NOT_FOUND = "repositoryNotFound";
|
||||
|
||||
@@ -65,6 +68,9 @@ public class I18n
|
||||
/** Field description */
|
||||
public static final String SUBCOMMANDS_TITLE = "subCommandsTitle";
|
||||
|
||||
/** Field description */
|
||||
public static final String USAGE = "usage";
|
||||
|
||||
/** Field description */
|
||||
public static final String USER_NOT_FOUND = "userNotFound";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user