Permalink
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...
1 parent e7d809e commit cbea053074662492516614a2f33bfa32b282c38f @johnbellone committed Aug 23, 2013
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

0 comments on commit cbea053

Please sign in to comment.