Skip to content

Commit

Permalink
more cleansing of svn
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed May 12, 2008
1 parent 81b6404 commit 3c9b946
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions hobo/bin/hobo
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ USAGE = "USAGE: hobo <options> <app-path>
Options:
--user-model <model-name-or-false>
--svn # Use 'svn co' to checkout Hobo trunk
--create-dbs # Run rake db:create:all
--hobo-src <path to hobo src>
-d | --database <database> # e.g. mysql, sqlite
Expand Down Expand Up @@ -40,16 +39,14 @@ end

app_path = ARGV.pop

user_model = "user"
hobo_svn = create_db = false
user_model = "user"
create_db = false

until ARGV.empty?
case ARGV.shift
when "--user-model"
arg = ARGV.shift
user_model = arg == "false" ? nil : arg
when "--svn"
hobo_svn = true
when "--create-dbs"
create_db = true
when "--hobo-src"
Expand Down

0 comments on commit 3c9b946

Please sign in to comment.