diff --git a/Formula/mecab-ipadic.rb b/Formula/mecab-ipadic.rb index 0e3b781b90..d33155d041 100644 --- a/Formula/mecab-ipadic.rb +++ b/Formula/mecab-ipadic.rb @@ -15,14 +15,16 @@ class MecabIpadic < Formula end # Via ./configure --help, valid choices are utf8 (default), euc-jp, sjis - option "charset=", "Select charset: utf8 (default), euc-jp, or sjis" + option "with-charset=", "Select charset: utf8 (default), euc-jp, or sjis" + + deprecated_option "charset=" => "with-charset=" depends_on "mecab" link_overwrite "lib/mecab/dic" def install - charset = ARGV.value("charset") || "utf8" + charset = ARGV.value("with-charset") || "utf8" args = %W[ --disable-debug --disable-dependency-tracking