~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to shell.py

  • Committer: Aaron Bentley
  • Date: 2007-01-11 02:35:38 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20070111023538-yg2bla811nv5cfxj
Restore short_name stuff to match API

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
def iter_opt_completions(command_obj):
231
231
    for option_name, option in command_obj.options().items():
232
232
        yield "--" + option_name
233
 
        short_name = option.short_name
 
233
        short_name = option.short_name()
234
234
        if short_name:
235
235
            yield "-" + short_name
236
236