diff --git a/lib/foreman/cli.rb b/lib/foreman/cli.rb index 6478647..129fbb0 100644 --- a/lib/foreman/cli.rb +++ b/lib/foreman/cli.rb @@ -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] diff --git a/man/foreman.1.ronn b/man/foreman.1.ronn index e479c6a..728bb7b 100644 --- a/man/foreman.1.ronn +++ b/man/foreman.1.ronn @@ -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.