提交 01b77da8 编写于 作者: M Michael Koziarski

Patch to add a -e (export) option to script/plugin install. Closes #10847 [jon@blankpad.net]


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 4c307718
*SVN*
* add a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)]
* Add config.time_zone for configuring the default Time.zone value. #10982 [Geoff Buesing]
* Reshuffle load order so that routes and observers are initialized after plugins and app initializers. Closes #10980 [rick]
......
......@@ -725,6 +725,9 @@ def options
o.on( "-o", "--checkout",
"Use svn checkout to grab the plugin.",
"Enables updating but does not add a svn:externals entry.") { |v| @method = :checkout }
o.on( "-e", "--export",
"Use svn export to grab the plugin.",
"Exports the plugin, allowing you to check it into your local repository. Does not enable updates, or add an svn:externals entry.") { |v| @method = :export }
o.on( "-q", "--quiet",
"Suppresses the output from installation.",
"Ignored if -v is passed (./script/plugin -v install ...)") { |v| @options[:quiet] = true }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册