Changeset 421

Show
Ignore:
Timestamp:
05/08/07 23:51:19 (2 years ago)
Author:
athomas
Message:

cly: Fix for bug introduced by including the group ID with help output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cly/trunk/cly/interactive.py

    r413 r421  
    175175            if context.remaining.strip(): 
    176176                print 
    177                 candidates = [help[0] for help in context.help()] 
    178                 text = '%s^ invalid token (candidates are %s)' % (' ' * (context.cursor + len(Interact.prompt)), ', '.join(candidates)) 
     177                candidates = [help[1] for help in context.help()] 
     178                text = '%s^ invalid token (candidates are %s)' % \ 
     179                       (' ' * (context.cursor + len(Interact.prompt)), 
     180                        ', '.join(candidates)) 
    179181                print_error(text) 
    180182                cly.rlext.force_redisplay()