Skip to content

Commit

Permalink
[enhance] server: Added -p and --port for all service
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgerieQuentin committed Jul 5, 2012
1 parent 5ff7163 commit ff6a975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/core/web/server/server_options.opa
Expand Up @@ -150,7 +150,7 @@ Server_options = {{
)),

(["caml","node.js"],
CL.int(List.append([optname("port")],if name == "http" then ["-p"] else []),
CL.int([optname("port"), "-p", "--port"],
"Sets the port on which the server should run (default:{init.port})",
"<int>"
)(port, p ->
Expand Down

0 comments on commit ff6a975

Please sign in to comment.