Changeset 421
- Timestamp:
- 05/08/07 23:51:19 (2 years ago)
- Files:
-
- cly/trunk/cly/interactive.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cly/trunk/cly/interactive.py
r413 r421 175 175 if context.remaining.strip(): 176 176 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)) 179 181 print_error(text) 180 182 cly.rlext.force_redisplay()
