switch procfile option to -f

This commit is contained in:
David Dollar
2010-06-30 21:18:30 -04:00
parent b969e03086
commit 98486513b6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ require "thor"
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"
@@ -13,7 +13,7 @@ class Foreman::CLI < Thor
def start(process=nil)
check_procfile!
if process
engine.execute(process)
elsif options[:screen]
+1 -1
View File
@@ -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.