/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 breezy/plugins/bash_completion/bashcomp.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-12 02:01:00 UTC
  • mfrom: (6805.1.4 unicode-option)
  • Revision ID: jelmer@jelmer.uk-20171112020100-sx781yx88ng0yjwz
merge lp:~jelmer/brz/options-unicode/

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    option,
27
27
    plugin,
28
28
)
 
29
from ...sixish import (
 
30
    text_type,
 
31
    )
29
32
import breezy
30
33
import re
31
34
import sys
420
423
    """
421
424
 
422
425
    takes_options = [
423
 
        option.Option("function-name", short_name="f", type=str, argname="name",
 
426
        option.Option("function-name", short_name="f", type=text_type, argname="name",
424
427
               help="Name of the generated function (default: _brz)"),
425
428
        option.Option("function-only", short_name="o", type=None,
426
429
               help="Generate only the shell function, don't enable it"),
427
430
        option.Option("debug", type=None, hidden=True,
428
431
               help="Enable shell code useful for debugging"),
429
 
        option.ListOption("plugin", type=str, argname="name",
 
432
        option.ListOption("plugin", type=text_type, argname="name",
430
433
                # param_name="selected_plugins", # doesn't work, bug #387117
431
434
                help="Enable completions for the selected plugin"
432
435
                + " (default: all plugins)"),