Rename --pull_gems to --pull-gems

This commit is contained in:
h2so5
2013-07-26 18:08:38 +09:00
parent 8a298605e6
commit 3fb5654510
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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."],
@@ -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