~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shellcomplete.py

  • Committer: Aaron Bentley
  • Date: 2007-02-14 21:57:40 UTC
  • mfrom: (2286 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2288.
  • Revision ID: abentley@panoramicfeedback.com-20070214215740-qehopznuc8to99oy
Merge bzr.dev

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