Skip to content

Commit

Permalink
chore: Update options.cr with version and build info print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed May 21, 2024
1 parent 905f03a commit 9aae19c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/options.cr
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def run_options_parser
noir_options[:debug] = "yes"
end
parser.on "-v", "--version", "Show version" do
puts Noir::VERSION
puts "Noir Version: #{Noir::VERSION}"
puts "Build Info: #{Crystal::DESCRIPTION}"
exit
end
parser.on "-h", "--help", "Show help" do
Expand Down

0 comments on commit 9aae19c

Please sign in to comment.