Permalink
Browse files

Remove unused arguments. Detect environment variable for cron express…

…ion.
  • Loading branch information...
1 parent 3b73563 commit 55ef470288e27388a7b5127c6061baecc81cbdaa @pH200 committed Dec 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.js
View
2 app.js
@@ -23,7 +23,6 @@ var argv = optimist
.string(["persistence", "jsonpath", "jsondir"])
.string(["cron"])
.string(["site_title"])
- .boolean(["get_token"])
.boolean(["rebuild", "disable_static", "no_auto_rebuild", "skip_server"])
.boolean(["login_steps", "exchange_token", "navigate_url"])
/* .default() */
@@ -33,6 +32,7 @@ var argv = optimist
["default"]("appsecret", process.env.FGA_APPSECRET)
["default"]("groupid", process.env.FGA_GROUPID)
["default"]("accesstoken", process.env.FGA_ACCESSTOKEN)
+ ["default"]("cron", process.env.FGA_CRON)
["default"]("site_title", process.env.FGA_SITETITLE)
["default"]("port", process.env.PORT || 5566)
.wrap(80)

0 comments on commit 55ef470

Please sign in to comment.