Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed Jun 10, 2024
1 parent a50f5ba commit 818a6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/main.cr
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private def parse_options(argv)
parser.on("-o=DIRECTORY", "Output directory, default: \"lib/gi-crystal/src/auto\"") do |dir|
output_dir = Path.new(dir).expand.to_s
end
parser.on("--doc", "Disable documentation generation on generated code") { doc_gen = true }
parser.on("--doc", "Enable documentation generation on generated code") { doc_gen = true }
parser.on("--no-doc", "Disable documentation generation on generated code") do
STDERR.puts("⚠️ --no-doc is DEPRECATED and set by default.".colorize.yellow)
doc_gen = false
Expand Down

0 comments on commit 818a6b2

Please sign in to comment.