lib/lapidarius/command.rb in lapidarius-4.1.1 vs lib/lapidarius/command.rb in lapidarius-4.2.0
- old
+ new
@@ -17,10 +17,11 @@
@dep.ui.out
end
private def options(args)
name, version, remote = args
- [name].tap do |args|
+ [].tap do |args|
+ args << "/^#{name}$/" if name
args.concat(["-v", version]) if version
args.concat(["-b", "-B", "10000"]) if remote
end
end
end