/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/option.py

Merge with walkdirs

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
        for name, switch_help in kwargs.iteritems():
346
346
            name = name.replace('_', '-')
347
347
            reg.register(name, name, help=switch_help)
 
348
            if not value_switches:
 
349
                help = help + '  "' + name + '": ' + switch_help
 
350
                if not help.endswith("."):
 
351
                    help = help + "."
348
352
        return RegistryOption(name_, help, reg, title=title,
349
353
            value_switches=value_switches, enum_switch=enum_switch)
350
354