mirror of
https://github.com/safiire/n65.git
synced 2024-12-11 08:49:42 +00:00
Added --version option
This commit is contained in:
parent
927023d048
commit
ad088d0164
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user