1
0
mirror of https://github.com/safiire/n65.git synced 2024-12-12 15:29:12 +00:00

Added --version option

This commit is contained in:
Safiire 2015-04-17 02:08:16 -07:00
parent 927023d048
commit ad088d0164

View File

@ -69,10 +69,18 @@ module N65
@options[:output_file] = output_file; @options[:output_file] = output_file;
end end
opts.on('-v', '--version', 'Displays Version') do
puts "N65 Assembler Version #{N65::VERSION}"
exit
end
opts.on('-h', '--help', 'Displays Help') do opts.on('-h', '--help', 'Displays Help') do
puts opts puts opts
exit exit
end end
end end
end end