diff options
author | Randall Leeds <randall@apache.org> | 2011-10-02 04:11:54 -0700 |
---|---|---|
committer | Randall Leeds <randall@apache.org> | 2011-10-02 04:11:54 -0700 |
commit | a378a6a13981b962039c8cd11e11caf0759965bd (patch) | |
tree | 351c7609ffc3e07aa8f9c9b62bcd2a178fedac65 /src/couchdb/priv/couch_js/util.h | |
parent | e77949221f63a011787118637cb549abfbd8e5e8 (diff) |
improve argument parsing in couchjs
This change makes argument parsing in couchjs more robust:
* Removes the need for couchjs script
* Adds long options
* Makes all the options to couchjs available (fix COUCHDB-893)
Conflicts:
bin/Makefile.am
bin/couchjs.tpl.in
configure.ac
Diffstat (limited to 'src/couchdb/priv/couch_js/util.h')
-rw-r--r-- | src/couchdb/priv/couch_js/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/couchdb/priv/couch_js/util.h b/src/couchdb/priv/couch_js/util.h index 6caebfa1..380ff846 100644 --- a/src/couchdb/priv/couch_js/util.h +++ b/src/couchdb/priv/couch_js/util.h @@ -22,7 +22,6 @@ typedef struct { char* script; } couch_args; -void couch_usage(); couch_args* couch_parse_args(int argc, const char* argv[]); int couch_fgets(char* buf, int size, FILE* fp); JSString* couch_readline(JSContext* cx, FILE* fp); |