From a378a6a13981b962039c8cd11e11caf0759965bd Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Sun, 2 Oct 2011 04:11:54 -0700 Subject: 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 --- src/couchdb/priv/couch_js/util.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/couchdb/priv/couch_js/util.h') 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); -- cgit v1.2.3