~ubuntu-branches/ubuntu/hardy/bzr/hardy-updates

« back to all changes in this revision

Viewing changes to bzrlib/shellcomplete.py

  • Committer: Bazaar Package Importer
  • Author(s): Etienne Goyer
  • Date: 2007-03-07 08:55:49 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20070307085549-2y0nzag1hotluiah
Tags: upstream-0.15~rc1
ImportĀ upstreamĀ versionĀ 0.15~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    for opt in options:
50
50
        if opt.short_name:
51
51
            outfile.write('"(--%s -%s)"{--%s,-%s}\n'
52
 
                    % (opt.name, opt.short_name, opt.name, opt.short_name))
 
52
                    % (opt.name, opt.short_name(), opt.name, opt.short_name()))
53
53
        else:
54
54
            outfile.write('--%s\n' % opt.name)
55
55