VirtualBox

Changeset 1305 in kBuild for trunk


Ignore:
Timestamp:
Dec 2, 2007 12:40:36 AM (17 years ago)
Author:
bird
Message:

fixed argument mixup. added help for kmk options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/main.c

    r1303 r1305  
    307307    0 = no change;
    308308    1 = idle / max nice;
    309     2 = below normal /  nice 10;
     309    2 = below normal / nice 10;
    310310    3 = normal / nice 0;
    311311    4 = high / nice -10;
    312     4 = realtime / nice -19; */
     312    5 = realtime / nice -19; */
    313313int process_priority = 0;
    314314
     
    391391    N_("\
    392392  --warn-undefined-variables  Warn when an undefined variable is referenced.\n"),
     393#ifdef KMK
     394    N_("\
     395  --affinity=mask             Sets the CPU affinity on some hosts.\n"),
     396    N_("\
     397  --priority=0-5              Sets the process priority / nice level:\n\
     398                                0 = no change;\n\
     399                                1 = idle / max nice;\n\
     400                                2 = below normal / nice 10;\n\
     401                                3 = normal / nice 0;\n\
     402                                4 = high / nice -10;\n\
     403                                5 = realtime / nice -19;\n"),
     404#endif /* KMK */
     405#ifdef CONFIG_PRETTY_COMMAND_PRINTING
     406    N_("\
     407  --pretty-command-printing   Makes the command echo easier to read.\n");
     408#endif
    393409    NULL
    394410  };
     
    430446    { 'p', flag, &print_data_base_flag, 1, 1, 0, 0, 0, "print-data-base" },
    431447#ifdef CONFIG_PRETTY_COMMAND_PRINTING
    432     { CHAR_MAX+6, flag, (char *) &pretty_command_printing, 1, 1, 1, 0, 0,
     448    { CHAR_MAX+10, flag, (char *) &pretty_command_printing, 1, 1, 1, 0, 0,
    433449       "pretty-command-printing" },
    434450#endif
    435451#ifdef KMK
    436     { CHAR_MAX+6, positive_int, (char *) &process_priority, 1, 1, 0,
     452    { CHAR_MAX+11, positive_int, (char *) &process_priority, 1, 1, 0,
    437453      (char *) &process_priority, (char *) &process_priority, "priority" },
    438     { CHAR_MAX+7, positive_int, (char *) &process_affinity, 1, 1, 0,
     454    { CHAR_MAX+12, positive_int, (char *) &process_affinity, 1, 1, 0,
    439455      (char *) &process_affinity, (char *) &process_affinity, "affinity" },
    440456#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette