~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
    >>> parse_args('log -rrevno:500..600'.split()) #the r takes an argument
297
297
    (['log'], {'revision': [<RevisionSpec_revno revno:500>, <RevisionSpec_int 600>]})
298
298
    """
 
299
    # TODO: chop up this beast
299
300
    args = []
300
301
    opts = {}
301
302
 
323
324
                if shortopt in Option.SHORT_OPTIONS:
324
325
                    # Multi-character options must have a space to delimit
325
326
                    # their value
 
327
                    # ^^^ what does this mean? mbp 20051014
326
328
                    optname = Option.SHORT_OPTIONS[shortopt].name
327
329
                else:
328
330
                    # Single character short options, can be chained,