private void displayUsage(String msg) {
		if (msg != null) {
			System.err.println(msg);
		}
		String invocationName = System.getProperty(INVOCATION_NAME_PROPERTY);
		System.err.println("Usage: " +
			(invocationName != null ? invocationName : "java " + ServerAdmin.class.getName()) +
			(invocationName != null ? "" : " <configPath>") + " [<command>] [<command>] ...");
		System.err.println("\nSupported commands:");
		System.err.println("  -add <sid> [--p]");
		System.err.println(
			"      Add a new user to the server identified by their sid identifier [optional --p prompts for password]");
		System.err.println("  -grant <sid> [+r|+w|+a] <repository-name>");
		System.err.println(
			"      Grant access permission for a user, identified by sid, to the named repository");
		System.err.println("  -revoke <sid> <repository-name>");
		System.err.println(
			"      Revoke access for a user, identified by sid, to a named repository");
		System.err.println("  -remove <sid>");
		System.err.println(
			"      Remove the specified user from the server's user list and revoke all repository access");
		System.err.println("  -reset <sid> [--p]");
		System.err.println(
			"      Reset the specified user's server login password [optional --p prompts for password]");
		System.err.println("  -dn <sid> \"<dname>\"");
		System.err.println(
			"      When PKI authentication is used, add the specified X500 Distinguished Name for a user");
		System.err.println("  -list [--users]");
		System.err.println(
			"      Output list of repositories to the console (user access list will be included with -users)");
		System.err.println("  -list <sid> [<sid>...]");
		System.err.println("      Output list of repository permissions for each user specified");
		System.err.println("  -users");
		System.err.println("      Output list of users to console which have server access");
		System.err.println("  -migrate \"<repository-name>\"");
		System.err.println(
			"      Migrate the specified repository to the latest file system storage schema (see svrREADME.html)");
		System.err.println("  -migrate-all");
		System.err.println(
			"      Migrate the all repositories to the latest file system storage schema (see svrREADME.html)");
		System.err.println();
	}
Display an optional message followed by usage syntax.
@param msg optional error message to proceed usage display
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/ServerAdmin.java