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]