Menu

#23 The '?' command doesn't work in text mod

open
nobody
None
5
2001-10-09
2001-10-09
No

When I type a wrong command in text mode sixpack
replies with:

Command 'lsdkla' not found. Use 'help' or '?'.

But when I type '?' it replies with

Command '?' not found. Use 'help' or '?'.

Which is a bit silly... Thing is that in sub
execCommand the line for '?' is missing, so just
replace

if ( /^\s*help\s*$/ || /^\s*h\s*$/ )

with

if ( /^\s*help\s*$/ || /^\s*h\s*$/ || /^\s*\?\s*$/ )

and it's fixed :)

Boy, if all bugs were this easy 'ey?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB