Skip to content

Commit

Permalink
Rename --pull_gems to --pull-gems
Browse files Browse the repository at this point in the history
  • Loading branch information
picoHz committed Jul 26, 2013
1 parent 8a29860 commit 3fb5654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/mrbgems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ A remote GIT repository location for a GEM is also supported:
conf.gem :bitbucket => 'mruby/mrbgems-example', :branch => 'master'

To pull all gems from remote GIT repository on build, call ```./minirake -p```,
or ```./minirake --pull_gems```.
or ```./minirake --pull-gems```.

NOTE: `:bitbucket` option supports only git. Hg is unsupported in this version.

Expand Down
4 changes: 2 additions & 2 deletions minirake
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class RakeApp
"Require MODULE before executing rakefile."],
['--tasks', '-T', GetoptLong::NO_ARGUMENT,
"Display the tasks and dependencies, then exit."],
['--pull_gems','-p', GetoptLong::NO_ARGUMENT,
['--pull-gems','-p', GetoptLong::NO_ARGUMENT,
"Pull all git mrbgems."],
['--trace', '-t', GetoptLong::NO_ARGUMENT,
"Turn on invoke/execute tracing."],
Expand Down Expand Up @@ -403,7 +403,7 @@ class RakeApp
require value
when '--tasks'
$show_tasks = true
when '--pull_gems'
when '--pull-gems'
$pull_gems = true
when '--trace'
$trace = true
Expand Down

0 comments on commit 3fb5654

Please sign in to comment.