Repository: dotnet/runtime
File: src/coreclr/tools/superpmi/superpmi/commandline.cpp (C++)

Code before:
    printf("     This only works with -applyDiff.\n");
    printf("\n");
    printf(" -p[arallel] [workerCount]\n");
    printf("     Run in parallel mode by spawning 'workerCount' processes to do processing.\n");
    printf("     If 'workerCount' is not specified, the number of workers used is\n");
    printf("     the number of processors on the machine.\n");
    printf("\n");
    printf(" -streaming filename\n");
    printf("     Streaming mode. Read and execute work requests from indicated file (can be 'stdin').\n");
    printf("     Each line is a method context number and additional force jit options for that method.\n");
    printf("     Blank line or EOF terminates\n");
    printf("\n");
    printf(" -failureLimit <limit>\n");
    printf("     For a positive 'limit' number, replay and asm diffs will exit if it sees more than 'limit' failures.\n");
    printf("     Otherwise, all methods will be compiled.\n");
    printf("\n");
    printf(" -skipCleanup\n");
    printf("     Skip deletion of temporary files created by child SuperPMI processes with -parallel.\n");
    printf("\n");
    printf(" -repeatCount <repetition count>\n");
    printf("     Number of times compilation should repeat for each method context. Usually used when\n");
    printf("     trying to measure JIT throughput for a specific set of methods. Default=1.\n");
    printf("\n");
    printf(" -target <target>\n");
    printf("     Specifies the target architecture if doing cross-compilation.\n");
    printf("     Allowed <target> values: x64, x86, arm, arm64, loongarch64, riscv64, wasm, wasm64\n");
    printf("     Used by the assembly differences calculator; to determine a default JIT dll name;\n");
    printf("     and to avoid treating mismatched cross-compilation replay as failure.\n");
    printf("\n");
    printf(" -coredistools\n");
    printf("     Use disassembly tools from the CoreDisTools library\n");
#if defined(USE_MSVCDIS)
    printf("     Default: use MSVCDIS.\n");
#elif defined(USE_COREDISTOOLS)
    printf("     Ignored: MSVCDIS is not available, so CoreDisTools will be used.\n");
#else
    printf("     Ignored: neither MSVCDIS nor CoreDisTools is available.\n");
#endif // USE_COREDISTOOLS
    printf("\n");
    printf(" -jitoption [force] key=value\n");
    printf("     Set the JIT option named \"key\" to \"value\" for JIT 1 if the option was not set.\n");
    printf("     With optional force flag overwrites the existing value if it was already set.\n");
    printf("     NOTE: do not use a \"DOTNET_\" prefix. \"key\" and \"value\" are case sensitive.\n");
    printf("     \"key#value\" is also accepted.\n");
    printf("\n");
    printf(" -jit2option [force] key=value\n");
    printf("     Set the JIT option named \"key\" to \"value\" for JIT 2 if the option was not set.\n");
    printf("     With optional force flag overwrites the existing value if it was already set.\n");
    printf("     NOTE: do not use a \"DOTNET_\" prefix. \"key\" and \"value\" are case sensitive.\n");
    printf("     \"key#value\" is also accepted.\n");
    printf("\n");

Review comment (suggestion):
```suggestion
    printf("     Allowed <target> values: x64, x86, arm, arm64, loongarch64, riscv64, wasm, wasm32, wasm64\n");
```

Code after:
    printf("     This only works with -applyDiff.\n");
    printf("\n");
    printf(" -p[arallel] [workerCount]\n");
    printf("     Run in parallel mode by spawning 'workerCount' processes to do processing.\n");
    printf("     If 'workerCount' is not specified, the number of workers used is\n");
    printf("     the number of processors on the machine.\n");
    printf("\n");
    printf(" -streaming filename\n");
    printf("     Streaming mode. Read and execute work requests from indicated file (can be 'stdin').\n");
    printf("     Each line is a method context number and additional force jit options for that method.\n");
    printf("     Blank line or EOF terminates\n");
    printf("\n");
    printf(" -failureLimit <limit>\n");
    printf("     For a positive 'limit' number, replay and asm diffs will exit if it sees more than 'limit' failures.\n");
    printf("     Otherwise, all methods will be compiled.\n");
    printf("\n");
    printf(" -skipCleanup\n");
    printf("     Skip deletion of temporary files created by child SuperPMI processes with -parallel.\n");
    printf("\n");
    printf(" -repeatCount <repetition count>\n");
    printf("     Number of times compilation should repeat for each method context. Usually used when\n");
    printf("     trying to measure JIT throughput for a specific set of methods. Default=1.\n");
    printf("\n");
    printf(" -target <target>\n");
    printf("     Specifies the target architecture if doing cross-compilation.\n");
    printf("     Allowed <target> values: x64, x86, arm, arm64, loongarch64, riscv64, wasm\n");
    printf("     Used by the assembly differences calculator; to determine a default JIT dll name;\n");
    printf("     and to avoid treating mismatched cross-compilation replay as failure.\n");
    printf("\n");
    printf(" -coredistools\n");
    printf("     Use disassembly tools from the CoreDisTools library\n");
#if defined(USE_MSVCDIS)
    printf("     Default: use MSVCDIS.\n");
#elif defined(USE_COREDISTOOLS)
    printf("     Ignored: MSVCDIS is not available, so CoreDisTools will be used.\n");
#else
    printf("     Ignored: neither MSVCDIS nor CoreDisTools is available.\n");
#endif // USE_COREDISTOOLS
    printf("\n");
    printf(" -jitoption [force] key=value\n");
    printf("     Set the JIT option named \"key\" to \"value\" for JIT 1 if the option was not set.\n");
    printf("     With optional force flag overwrites the existing value if it was already set.\n");
    printf("     NOTE: do not use a \"DOTNET_\" prefix. \"key\" and \"value\" are case sensitive.\n");
    printf("     \"key#value\" is also accepted.\n");
    printf("\n");
    printf(" -jit2option [force] key=value\n");
    printf("     Set the JIT option named \"key\" to \"value\" for JIT 2 if the option was not set.\n");
    printf("     With optional force flag overwrites the existing value if it was already set.\n");
    printf("     NOTE: do not use a \"DOTNET_\" prefix. \"key\" and \"value\" are case sensitive.\n");
    printf("     \"key#value\" is also accepted.\n");
    printf("\n");