#define SET_NAME 'n'
#define SET_OUTPUT 'o'
#define SET_PORT 'p'
+#define JS_API 'j'
#define SET_QUIET 'q'
#define SET_RANDOM_TOKEN 'r'
#define ADD_SET 's'
{ADD_WEAK_LDPATH, 1, "weak-ldpaths","Same as --ldpaths but ignore errors"},
{SET_NO_LDPATH, 0, "no-ldpaths", "Discard default ldpaths loading"},
#endif
+ {JS_API, 1, "jsapi", "Load the javascript api of path"},
+
{SET_TOKEN, 1, "token", "Initial Secret [default=random, use --token="" to allow any token]"},
{SET_RANDOM_TOKEN, 0, "random-token","Enforce a random token"},
case ADD_WS_CLIENT:
case ADD_WS_SERVICE:
case ADD_AUTO_API:
+ case JS_API:
config_add_optstr(config, optid);
break;