diff --git a/mpw b/mpw index 6db35f0..a9a784a 100755 --- a/mpw +++ b/mpw @@ -12,6 +12,7 @@ require 'i18n' APP_ROOT = File.dirname(Pathname.new(__FILE__).realpath) require "#{APP_ROOT}/MPW/UI/Cli" require "#{APP_ROOT}/MPW/Config" +require "#{APP_ROOT}/MPW/MPW" # --------------------------------------------------------- # # Set local @@ -95,7 +96,7 @@ OptionParser.new do |opts| end opts.on('-G', '--generate-password [LENGTH]', I18n.t('option.generate_password')) do |length| - puts MPW::password(length) + puts MPW::MPW::password(length) exit 0 end