summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorh2so5 <[email protected]>2013-07-26 18:08:38 +0900
committerh2so5 <[email protected]>2013-07-26 18:08:38 +0900
commit3fb56545102e39bd260933de4afc4745c816c256 (patch)
tree04dd9e244b715ceaa89e5c2b3cfd3f4da347be58
parent8a298605e6667bfc15a1bef49b481f35829c0717 (diff)
downloadmruby-3fb56545102e39bd260933de4afc4745c816c256.tar.gz
mruby-3fb56545102e39bd260933de4afc4745c816c256.zip
Rename --pull_gems to --pull-gems
-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