コード例 #1
0
ファイル: OutputStrings.java プロジェクト: muga/jruby
  public static String getPropertyHelp() {
    StringBuilder sb = new StringBuilder();

    sb.append(
            "# These properties can be used to alter runtime behavior for perf or compatibility.\n")
        .append("# Specify them by passing -X<property>=<value>\n")
        .append("#   or if passing directly to Java, -Djruby.<property>=<value>\n")
        .append("#   or put <property>=<value> in .jrubyrc\n")
        .append("#\n")
        .append("# This dump is a valid .jrubyrc file of current settings. Uncomment and modify\n")
        .append("# settings to customize.\n");

    sb.append(Option.formatOptions(Options.PROPERTIES));

    return sb.toString();
  }