Skip to content

Commit

Permalink
switch procfile option to -f
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Jul 1, 2010
1 parent b969e03 commit 9848651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/foreman/cli.rb
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion man/foreman.1.ronn
Expand Up @@ -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.
Expand Down

0 comments on commit 9848651

Please sign in to comment.