~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shellcomplete.py

  • Committer: mbp at sourcefrog
  • Date: 2007-02-13 01:40:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2282.
  • Revision ID: mbp@sourcefrog.net-20070213014053-2nb9jeb21vfuoxsi
(trivial) fix short_name() call in shellcomplete
(thanks to Matthias Ralf) #84826

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