summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/mrbgems/README.md2
-rwxr-xr-xminirake4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md
index 07f7002fb..881fbb228 100644
--- a/doc/mrbgems/README.md
+++ b/doc/mrbgems/README.md
@@ -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.
diff --git a/minirake b/minirake
index 69d447a15..e48ca1306 100755
--- a/minirake
+++ b/minirake
@@ -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