Skip to content

Commit d571a99

Browse files
committed
Tweak CLI output.
1 parent d4e7fc2 commit d571a99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ld/patch/format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def self.cli_commands
3232
raise ArgumentError, "Patching requires a patch or reference to patch resource" unless opts[:patch_input]
3333
opts[:logger].info "Patch"
3434
patch = LD::Patch.parse(opts[:patch_input], base_uri: opts.fetch(:patch_file, "http://rubygems.org/gems/ld-patch"))
35-
opts[:messages][:"S-Expression"] = [patch.to_sse] if opts[:to_sxp]
35+
opts[:messages][:reasoner] = {"S-Expression": [patch.to_sse]} if opts[:to_sxp]
3636
RDF::CLI.repository.query(patch)
3737
end,
3838
options: [

0 commit comments

Comments
 (0)