• Greg Ward's avatar
    Fixed some bugs and mis-features in handling config files: · ceb9e226
    Greg Ward yazdı
      * options can now be spelled "foo-bar" or "foo_bar" (handled in
        'parse_config_files()', just after we parse a file)
      * added a "[global]" section so there's a place to set global
        options like verbose/quiet and dry-run
      * respect the "negative alias" dictionary so (eg.) "quiet=1" is
        the same as "verbose=0" (this had to be done twice: once in
        'parse_config_file()' for global options, and once in
        '_set_command_options()' for per-command options)
      * the other half of handling boolean options correctly: allow
        commands to list their boolean options in a 'boolean_options'
        class attribute, and use it to translate strings (like "yes", "1",
        "no", "0", etc) to true or false
    ceb9e226
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...