GerritLauncher: Add rebuild-notedb to commonly used commands

Wit this change invoking gerrit.war without arguments lists
RebuildNotedb command:

  $ java -jar buck-out/gen/gerrit/gerrit.war
  Gerrit Code Review
  usage: java -jar gerrit.war command [ARG ...]

  The most commonly used commands are:
    init             Initialize a Gerrit installation
    rebuild-notedb   Rebuild the review notes database
    reindex          Rebuild the secondary index
    [...]

Change-Id: I1f6cfbce3855f4171ad92709f05bce55d18cd6b6
This commit is contained in:
David Ostrovsky
2015-10-12 20:00:59 +02:00
committed by David Pursehouse
parent ab16c46053
commit 7bd0fe4d28

View File

@@ -66,14 +66,15 @@ public final class GerritLauncher {
System.err.println("usage: java -jar " + jar + " command [ARG ...]");
System.err.println();
System.err.println("The most commonly used commands are:");
System.err.println(" init Initialize a Gerrit installation");
System.err.println(" reindex Rebuild the secondary index");
System.err.println(" daemon Run the Gerrit network daemons");
System.err.println(" gsql Run the interactive query console");
System.err.println(" version Display the build version number");
System.err.println(" init Initialize a Gerrit installation");
System.err.println(" rebuild-notedb Rebuild the review notes database");
System.err.println(" reindex Rebuild the secondary index");
System.err.println(" daemon Run the Gerrit network daemons");
System.err.println(" gsql Run the interactive query console");
System.err.println(" version Display the build version number");
System.err.println();
System.err.println(" ls List files available for cat");
System.err.println(" cat FILE Display a file from the archive");
System.err.println(" ls List files available for cat");
System.err.println(" cat FILE Display a file from the archive");
System.err.println();
return 1;
}