~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Aaron Bentley
  • Date: 2005-10-18 20:53:09 UTC
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1474.
  • Revision ID: abentley@panoramicfeedback.com-20051018205309-4ccd131f3ddabd51
Fixed wrong-long-option errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
                    optname = a[2:]
304
304
                if optname not in cmd_options:
305
305
                    raise BzrCommandError('unknown long option %r for command %s' 
306
 
                            % (a, command.name))
 
306
                            % (a, command.name()))
307
307
            else:
308
308
                shortopt = a[1:]
309
309
                if shortopt in Option.SHORT_OPTIONS: