Moving back some model classes to where they belong. Model classes need not map to database entities to be model classes
This commit is contained in:
parent
4f7e5bca30
commit
b4ae0b3065
4 changed files with 2 additions and 2 deletions
|
@ -21,13 +21,13 @@ ARGV.options do |opts|
|
||||||
"Runs Instiki on the specified port.",
|
"Runs Instiki on the specified port.",
|
||||||
"Default: 2500") { |OPTIONS[:port]| }
|
"Default: 2500") { |OPTIONS[:port]| }
|
||||||
opts.on("-b", "--binding=ip", String,
|
opts.on("-b", "--binding=ip", String,
|
||||||
"Binds Rails to the specified ip.",
|
"Binds Instiki to the specified ip.",
|
||||||
"Default: 0.0.0.0") { |OPTIONS[:ip]| }
|
"Default: 0.0.0.0") { |OPTIONS[:ip]| }
|
||||||
opts.on("-e", "--environment=name", String,
|
opts.on("-e", "--environment=name", String,
|
||||||
"Specifies the environment to run this server under (test/development/production).",
|
"Specifies the environment to run this server under (test/development/production).",
|
||||||
"Default: development") { |OPTIONS[:environment]| }
|
"Default: development") { |OPTIONS[:environment]| }
|
||||||
opts.on("-d", "--daemon",
|
opts.on("-d", "--daemon",
|
||||||
"Make Rails run as a Daemon (only works if fork is available -- meaning on *nix)."
|
"Make Instiki run as a Daemon (only works if fork is available -- meaning on *nix)."
|
||||||
) { OPTIONS[:server_type] = WEBrick::Daemon }
|
) { OPTIONS[:server_type] = WEBrick::Daemon }
|
||||||
|
|
||||||
opts.separator ""
|
opts.separator ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue