Skip to content

Commit 7aead53

Browse files
committed
Add option defaults for CLI.
1 parent 311b34a commit 7aead53

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/json/ld/writer.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,12 @@ def self.options
102102
RDF::CLI::Option.new(
103103
symbol: :explicit,
104104
datatype: TrueClass,
105-
default: false,
106105
control: :checkbox,
107106
on: ["--[no-]explicit"],
108107
description: "Only include explicitly declared properties in output (false)") {|arg| arg},
109108
RDF::CLI::Option.new(
110109
symbol: :omitDefault,
111110
datatype: TrueClass,
112-
default: false,
113111
control: :checkbox,
114112
on: ["--[no-]omitDefault"],
115113
description: "Omit missing properties from output (false)") {|arg| arg},
@@ -129,14 +127,12 @@ def self.options
129127
RDF::CLI::Option.new(
130128
symbol: :stream,
131129
datatype: TrueClass,
132-
default: false,
133130
control: :checkbox,
134131
on: ["--[no-]stream"],
135132
description: "Do not attempt to optimize graph presentation, suitable for streaming large graphs.") {|arg| arg},
136133
RDF::CLI::Option.new(
137134
symbol: :useRdfType,
138135
datatype: TrueClass,
139-
default: false,
140136
control: :checkbox,
141137
on: ["--[no-]use-rdf-type"],
142138
description: "Treat `rdf:type` like a normal property instead of using `@type`.") {|arg| arg},

0 commit comments

Comments
 (0)