bin/i18n-tasks in i18n-tasks-0.3.11 vs bin/i18n-tasks in i18n-tasks-0.4.0.beta1
- old
+ new
@@ -9,10 +9,12 @@
exit exit_code
}
command = nil
begin
- slop = Slop.parse(help: true) do
+ args = ARGV.dup
+ args = ['--help'] if args.empty?
+ slop = Slop.parse(args, help: true) do
on('-v', '--version', 'Print the version') {
puts I18n::Tasks::VERSION
exit
}
::I18n::Tasks::Commands.cmds.each do |name, attr|