diff --git a/lib/rbs/cli.rb b/lib/rbs/cli.rb index c645c2deb..166a85184 100644 --- a/lib/rbs/cli.rb +++ b/lib/rbs/cli.rb @@ -1158,7 +1158,7 @@ def run_collection(args, options) stderr.puts "#{lock_path} should exist to clean" return 1 end - Collection::Cleaner.new(lockfile_path: lock_path) + Collection::Cleaner.new(lockfile_path: lock_path).clean when 'help', 'hel', 'he', 'h' stdout.puts opts.help else