Repository: JuliaLang/julia
File: src/jloptions.c (C)

Code before:
    " -t, --threads {auto|N[,auto|M]}               Enable N[+M] threads; N threads are assigned to the\n"
    "                                               `default` threadpool, and if M is specified, M\n"
    "                                               threads are assigned to the `interactive`\n"
    "                                               threadpool; `auto` tries to infer a useful\n"
    "                                               default number of threads to use but the exact\n"
    "                                               behavior might change in the future. Currently sets\n"
    "                                               N to the number of CPUs assigned to this Julia\n"
    "                                               process based on the OS-specific affinity assignment\n"
    "                                               interface if supported (Linux and Windows) or to the\n"
    "                                               number of CPU threads if not supported (MacOS) or if\n"
    "                                               process affinity is not configured, and sets M to 1.\n"
    " --gcthreads=N[,M]                             Use N threads for the mark phase of GC and M (0 or 1)\n"
    "                                               threads for the concurrent sweeping phase of GC.\n"
    "                                               N is set to the number of compute threads and\n"
    "                                               M is set to 0 if unspecified.\n"
    " -p, --procs {N|auto}                          Integer value N launches N additional local worker\n"
    "                                               processes `auto` launches as many workers as the\n"
    "                                               number of local CPU threads (logical cores).\n"
    " --machine-file <file>                         Run processes on hosts listed in <file>\n\n"

    // interactive options
    " -i, --interactive                             Interactive mode; REPL runs and\n"
    "                                               `isinteractive()` is true.\n"
    " -q, --quiet                                   Quiet startup: no banner, suppress REPL warnings\n"
    " --banner={yes|no|auto*|<size>}                Enable or disable startup banner, or specify a\n"
    "                                               preferred <size> (tiny, short, or narrow).\n"
    " --color={yes|no|auto*}                        Enable or disable color text\n"
    " --history-file={yes*|no}                      Load or save history\n\n"

    // error and warning options
    " --depwarn={yes|no*|error}                     Enable or disable syntax and method deprecation\n"
    "                                               warnings (`error` turns warnings into errors)\n"
    " --warn-overwrite={yes|no*}                    Enable or disable method overwrite warnings\n"
    " --warn-scope={yes*|no}                        Enable or disable warning for ambiguous top-level\n"
    "                                               scope\n\n"

    // code generation options
    " -C, --cpu-target <target>                     Limit usage of CPU features up to <target>; set to\n"
    "                                               `help` to see the available options\n"
    " -O, --optimize={0|1|2*|3}                     Set the optimization level (level 3 if `-O` is used\n"
    "                                               without a level) ($)\n"
    " --min-optlevel={0*|1|2|3}                     Set a lower bound on the optimization level\n"
#ifdef JL_DEBUG_BUILD
    " -g, --debug-info=[{0|1|2*}]                   Set the level of debug info generation in the\n"
    "                                               julia-debug build ($)\n"
#else
    " -g, --debug-info=[{0|1*|2}]                   Set the level of debug info generation (level 2 if\n"
    "                                               `-g` is used without a level) ($)\n"
#endif
    " --inline={yes*|no}                            Control whether inlining is permitted, including\n"
    "                                               overriding @inline declarations\n"

Review comment (suggestion):
Can't one also specify `full` here?
```suggestion
    "                                               preferred <size> (tiny, short, narrow, or full).\n"
```

Code after:
                        0, // image-codegen
                        0, // rr-detach
                        0, // strip-metadata
                        0, // strip-ir
                        0, // permalloc_pkgimg
                        0, // heap-size-hint
                        0, // hard-heap-limit
                        0, // heap-target-increment
                        0, // trace_compile_timing
                        JL_TRIM_NO, // trim
                        0, // trace-eval
                        0, // task_metrics
                        -1, // timeout_for_safepoint_straggler_s
                        0, // gc_sweep_always_full
                        0, // compress_sysimage
                        0, // alert_on_critical_error
    };
    jl_options_initialized = 1;
}

static const char usage[] = "\n    julia [switches] -- [programfile] [args...]\n\n";
static const char opts[]  =
    "Switches (a '*' marks the default value, if applicable; settings marked '($)' may trigger package\n"
    "precompilation):\n\n"
    " Option                                        Description\n"
    " ---------------------------------------------------------------------------------------------------\n"
    " -v, --version                                 Display version information\n"
    " -h, --help                                    Print command-line options (this message)\n"
    " --help-hidden                                 Print uncommon options not shown by `-h`\n\n"

    // startup options
    " --project[={<dir>|@temp|@.|@script[<rel>]}]   Set <dir> as the active project/environment.\n"
    "                                               Or, create a temporary environment with `@temp`\n"
    "                                               The default @. option will search through parent\n"
    "                                               directories until a Project.toml or JuliaProject.toml\n"
    "                                               file is found. @script is similar, but searches up\n"
    "                                               from the programfile or a path relative to\n"
    "                                               programfile.\n"
    " -J, --sysimage <file>                         Start up with the given system image file\n"
    " -H, --home <dir>                              Set location of `julia` executable\n"
    " --startup-file={yes*|no}                      Load `JULIA_DEPOT_PATH/config/startup.jl`; \n"
    "                                               if `JULIA_DEPOT_PATH` environment variable is unset,\n"
    "                                               load `~/.julia/config/startup.jl`\n"
    " --handle-signals={yes*|no}                    Enable or disable Julia's default signal handlers\n"
    " --sysimage-native-code={yes*|no}              Use native code from system image if available\n"
    " --compiled-modules={yes*|no|existing|strict}  Enable or disable incremental precompilation of\n"
    "                                               modules. The `existing` option allows use of existing\n"
    "                                               compiled modules that were previously precompiled,\n"
    "                                               but disallows creation of new precompile files.\n"
    "                                               The `strict` option is similar, but will error if no\n"
    "                                               precompile file is found.\n"