Permalink
Browse files

switch procfile option to -f

  • Loading branch information...
1 parent b969e03 commit 98486513b638a398d8a7a1b3a166c26a73566777 @ddollar ddollar committed Jul 1, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/foreman/cli.rb
  2. +1 −1 man/foreman.1.ronn
View
@@ -5,15 +5,15 @@
class Foreman::CLI < Thor
- class_option :procfile, :type => :string, :aliases => "-p", :desc => "Default: ./Procfile"
+ class_option :procfile, :type => :string, :aliases => "-f", :desc => "Default: ./Procfile"
desc "start [PROCESS]", "Start the application, or a specific process"
method_option :screen, :type => :boolean, :aliases => "-s"
def start(process=nil)
check_procfile!
-
+
if process
engine.execute(process)
elsif options[:screen]
View
@@ -58,7 +58,7 @@ The following options control how the application is run:
These options control all modes of foreman's operation.
- * `-p`, `--procfile`
+ * `-f`, `--procfile`
Specify an alternate location for the application's Procfile. This file's
containing directory will be assumed to be the root directory of the
application.

0 comments on commit 9848651

Please sign in to comment.