Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update sticker-server to fix issue with CLI option.

It seems the option for the path to the pidfile was first setup as an integer. Also modify the types to use String uniformly.
  • Loading branch information...
commit cbea053074662492516614a2f33bfa32b282c38f 1 parent e7d809e
@johnbellone johnbellone authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/stickler-server
View
4 bin/stickler-server
@@ -60,8 +60,8 @@ Usage: #{exec_name} #{cmd} [options] /path/to/stickler/root
Options:
_
opt :daemonize, "Daemonize the server", :default => false
- opt :host, "The host address to bind to", :type => :string, :default =>'0.0.0.0'
- opt :pid, "Path to write a pid file to after daemonizing", :type => :int
+ opt :host, "The host address to bind to", :type => String, :default =>'0.0.0.0'
+ opt :pid, "Path to write a pid file to after daemonizing", :type => String, :default => 'stickler-server.pid'
opt :port, "The port to bind to", :type => :int, :default => 6789
opt :server, "The rack handler: thin, mongrel, webrick, etc", :type => String, :default => rack_handler
end
Please sign in to comment.
Something went wrong with that request. Please try again.