Closed Bug 50941 Opened 25 years ago Closed 24 years ago

JS shell help command shows obsolete command-style syntax

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: brendan, Assigned: mike+mozilla)

Details

Attachments

(1 file)

It could be whacked to use function call syntax. OTOH, is there any chance of a "command-syntax" preprocessor for the shell? This bug is obviously not a high priority one, but I thought I'd ask. /be
I miss the mocha reference, but r=shaver.
Fix clear's help to be "clear([obj]) ..." (it uses its 'this' param, the global object, by default), and a=brendan@mozilla.org. /be
Yeah, I was tempted to leave 'Quit mocha'. But no one who actually uses this help is likely to know what that means. I fixed the 'clear' text and will check this in. brendan, do you want to morph this bug to be about reviving the old syntax, or shall I close it after I check in my patch?
I'd leave it for mccabe to close, or to implement command syntax if he's got the time and motivation. I know I'd use it, but it's not that important. The js program is not a "shell", but I do find myself typing at it often. So I find shell-like things such as mccabe's libreadline usage to be righteous. /be
I checked in my help text fix. Leaving this to mccabe to decide on whether to revert to the old command syntax or close the bug.
Wontfix! Beard has something similar based on a hybrid of his java shell and Rhino.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Marking Verified -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: