Bug 17928 - testkjs shouldn't require "-f"
Summary: testkjs shouldn't require "-f"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 16:52 PDT by Jesse Ruderman
Modified: 2008-06-07 20:52 PDT (History)
1 user (show)

See Also:


Attachments
Proposed patch (1.79 KB, patch)
2008-06-07 20:34 PDT, Cameron Zwarich (cpst)
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Ruderman 2008-03-18 16:52:51 PDT
It would be nice if "testkjs a.js" worked.  I have a bunch of tools for fuzzing and testcase reduction that don't expect to have to pass extra arguments like "-f".
Comment 1 Cameron Zwarich (cpst) 2008-06-07 20:34:38 PDT
Created attachment 21569 [details]
Proposed patch
Comment 2 mitz 2008-06-07 20:45:07 PDT
Comment on attachment 21569 [details]
Proposed patch

+    fprintf(stderr, "Usage: testkjs [options] [files] [-- arguments]\n");

Looks like it's really [options and files], but I guess it's okay for the usage message to suggest separating them.

r=me
Comment 3 Cameron Zwarich (cpst) 2008-06-07 20:52:38 PDT
Landed in r34437.