1
0
mirror of https://github.com/safiire/n65.git synced 2024-12-22 18:29:36 +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;
end
opts.on('-v', '--version', 'Displays Version') do
puts "N65 Assembler Version #{N65::VERSION}"
exit
end
opts.on('-h', '--help', 'Displays Help') do
puts opts
exit
end
end
end